示例#1
0
    public void Action()
    {
        blinkKey.Action();

        if (blinkTimer > 0.20f)
        {
            blinkTimer    = 0;
            timeFromBlink = 0;
        }
    }
示例#2
0
    public override void OnInspectorGUI()
    {
        DrawDefaultInspector();

        KeyFrame keyframe = (KeyFrame)target;

        if (GUILayout.Button("Action"))
        {
            keyframe.Action();
        }
    }