//public string nextLevel = "Level_1"; void Awake() { if (instance == null) { instance = this; } //Fetch the Raycaster from the GameObject (the Canvas) m_Raycaster = GetComponent <GraphicRaycaster>(); //Fetch the Event System from the Scene m_EventSystem = GameObject.Find("EventSystem").GetComponent <EventSystem>(); }
public void TestSetup() { tempMain = new MainController(); tempMain.setPlayerName("Player 1"); tempMain.setNumberQuestions(1); tempMain.makeQuestions(); sut = new GUI_Game(); sut.setController(ref tempMain); tempMain.setGUI_GAME(sut); tempMain.setBasicInfo(); tempMain.setQuestion(); //_guiGame.Show(); }
public void SetGame(GUI_Game game) { _guiGame = game; }
public void TestTearDown() { sut = null; }