Example #1
0
    public override void OnInspectorGUI()
    {
        sh = (StateHandler)target;
        DrawDefaultInspector();

        if (GUILayout.Button("GameStart"))
        {
            sh.InitiateBattle();
            sh.StartTicTacToe();
        }

        if (GUILayout.Button("StartFour"))
        {
            sh.StartConnectFour();
        }
    }