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

Animation rewinding custom inspector More...

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

Public Member Functions

override void OnInspectorGUI ()
 Editor GUI More...
 

Detailed Description

Animation rewinding custom inspector

Member Function Documentation

◆ OnInspectorGUI()

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

Editor GUI

24  {
25  GUILayout.Label("Rewinding Data save time");
26  m_Rewindingtarget.m_RecordTime = EditorGUILayout.IntField(m_Rewindingtarget.m_RecordTime);
27 
28  GUILayout.Space(5);
29 
30  GUILayout.Label("Default state, RewizeSystem will be started this way");
31  m_Rewindingtarget.m_DefaultState =
32  (RewizeSystem.RewindOption)EditorGUILayout.EnumPopup(m_Rewindingtarget.m_DefaultState);
33 
34  GUILayout.Space(5);
35 
36  GUILayout.Label("When Enabled RewizeSystem is in debug mode");
37  GUILayout.Label("Controls:");
38  GUILayout.Label("1 = rewind");
39  GUILayout.Label("2 = resume:");
40  GUILayout.Label("3 = pauze:");
41  m_Rewindingtarget.m_Debug = GUILayout.Toggle(m_Rewindingtarget.m_Debug, new GUIContent("Debug enabled"));
42 
43  EditorUtility.SetDirty(target);
44 
45  serializedObject.ApplyModifiedProperties();
46  }