public override void OnInspectorGUI() { DrawDefaultInspector(); UnityMain myScript = (UnityMain)target; if (GUILayout.Button("Construct Genome")) { myScript.ConstructGenome(); } if (GUILayout.Button("Bangarang")) { myScript.ConstructGenomesAndFuck(); } }
public GameState(UnityMain unityMain, ErrorPresenter errorPresenter, Canvas inGameDebugConsoleCanvas) { this.unityMain = unityMain; this.errorPresenter = errorPresenter; this.inGameDebugConsoleCanvas = inGameDebugConsoleCanvas; }
public GameState(UnityMain unityMain) { this.unityMain = unityMain; }
public GameState(UnityMain unityMain, ErrorPresenter errorPresenter) { this.unityMain = unityMain; this.errorPresenter = errorPresenter; }