Ejemplo n.º 1
0
    public override void OnInspectorGUI()
    {
        DrawDefaultInspector();

        UnityMain myScript = (UnityMain)target;

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

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