Time Rewizer  v.1.1
Created by: Mark Oostveen
MarkOostveen.TimeRewizer.Editor.PositionRotationRewizerCustomEditor Class Reference

Animation rewinding custom inspector More...

+ Inheritance diagram for MarkOostveen.TimeRewizer.Editor.PositionRotationRewizerCustomEditor:
+ Collaboration diagram for MarkOostveen.TimeRewizer.Editor.PositionRotationRewizerCustomEditor:

Public Member Functions

override void OnInspectorGUI ()
 Editor GUI More...
 

Detailed Description

Animation rewinding custom inspector

Member Function Documentation

◆ OnInspectorGUI()

override void MarkOostveen.TimeRewizer.Editor.PositionRotationRewizerCustomEditor.OnInspectorGUI ( )

Editor GUI

24  {
25  if (m_Rewindingtarget.LoadScriptableContent() != null)
26  {
27  Color defaultcollor = GUI.color;
28  GUI.color = Color.red;
29  ScriptableBake bake = m_Rewindingtarget.LoadScriptableContent();
30  GUILayout.Label("Contains Position/Rotation bake: " + bake.name + " Playtime: " +
31  bake.RunTime("P_R") + " seconds.");
32  GUI.color = defaultcollor;
33  }
34  }
+ Here is the call graph for this function: