Exemple #1
0
    public override void OnInspectorGUI()
    {
        DrawDefaultInspector();

        UnityMain myScript = (UnityMain)target;

        if (GUILayout.Button("Construct Genome"))
        {
            myScript.ConstructGenome();
        }

        if (GUILayout.Button("Bangarang"))
        {
            myScript.ConstructGenomesAndFuck();
        }
    }
Exemple #2
0
 public GameState(UnityMain unityMain, ErrorPresenter errorPresenter, Canvas inGameDebugConsoleCanvas)
 {
     this.unityMain                = unityMain;
     this.errorPresenter           = errorPresenter;
     this.inGameDebugConsoleCanvas = inGameDebugConsoleCanvas;
 }
Exemple #3
0
 public GameState(UnityMain unityMain)
 {
     this.unityMain = unityMain;
 }
 public GameState(UnityMain unityMain, ErrorPresenter errorPresenter)
 {
     this.unityMain      = unityMain;
     this.errorPresenter = errorPresenter;
 }