Esempio n. 1
0
    public override void OnInspectorGUI()
    {
        Sequencer sequencer = (Sequencer)target;

        if (GUILayout.Button("Remove Sequences"))
        {
            sequencer.RemoveSequences();
        }
        if (GUILayout.Button("Add Sequences"))
        {
            sequencer.AddSequences();
        }

        if (GUILayout.Button("Map Sequences"))
        {
            sequencer.MapSequences();
        }
        DrawDefaultInspector();
    }