Browse Source

Fixed step time field

master
chrisgregan 10 years ago
parent
commit
74312e7294
  1. 4
      Assets/Fungus/Editor/FungusScript/FungusScriptEditor.cs

4
Assets/Fungus/Editor/FungusScript/FungusScriptEditor.cs

@ -39,10 +39,10 @@ namespace Fungus.Script
t.transform.hideFlags = (components.Length == 2) ? HideFlags.HideInInspector : HideFlags.None; t.transform.hideFlags = (components.Length == 2) ? HideFlags.HideInInspector : HideFlags.None;
} }
float stepTime = EditorGUILayout.FloatField(new GUIContent("Step Time", "Minimum time to execute each step"), t.stepTime);
EditorGUI.BeginChangeCheck(); EditorGUI.BeginChangeCheck();
float stepTime = EditorGUILayout.FloatField(new GUIContent("Step Time", "Minimum time to execute each step"), t.stepTime);
Sequence startSequence = SequenceEditor.SequenceField(new GUIContent("Start Sequence", "Sequence to be executed when controller starts."), Sequence startSequence = SequenceEditor.SequenceField(new GUIContent("Start Sequence", "Sequence to be executed when controller starts."),
new GUIContent("<None>"), new GUIContent("<None>"),
t, t,

Loading…
Cancel
Save