public void Action() { blinkKey.Action(); if (blinkTimer > 0.20f) { blinkTimer = 0; timeFromBlink = 0; } }
public override void OnInspectorGUI() { DrawDefaultInspector(); KeyFrame keyframe = (KeyFrame)target; if (GUILayout.Button("Action")) { keyframe.Action(); } }