Example #1
0
 void ShowStepBtns()
 {
     EditorGUILayout.BeginHorizontal();
     if (GUILayout.Button("Step Forward"))
     {
         animationCtrl.Step(StepLength);
     }
     if (GUILayout.Button("Step Back"))
     {
         animationCtrl.Step(-StepLength);
     }
     EditorGUILayout.EndHorizontal();
 }