void Start() { state = MenuState.MAIN; menu.SetActive(false); gm = GameObject.Find("_GM").GetComponent <_GM_Script>(); scene = GameObject.Find("SceneChanger").GetComponent <SceneChangerScript>(); }
void Start() { state = GameObject.Find("_GM").GetComponent <_GM_Script>(); scene = GameObject.Find("SceneChanger").GetComponent <SceneChangerScript>(); loc = GameObject.Find("LocationController").GetComponent <LocationControllerScript>(); StartCoroutine(CheckSaveLoad()); }
// Handler for the Join button // public void AcceptButton() { //Thread looking = new Thread(() => Looking()); //looking.Start(); firstTime = true; buttonPressed = true; SceneChangerScript.SceneChanger(2); }
void Start() { gs = GameObject.Find("GameStatus").GetComponent <GameStatusScript>(); state = GameObject.Find("GameState").GetComponent <GameStateScript>(); scene = GameObject.Find("SceneChanger").GetComponent <SceneChangerScript>(); StartCoroutine(CheckSaveLoad()); }
// Start is called before the first frame update void Start() { player = GameObject.Find("Player"); transf = player.transform; state = GameObject.Find("GameState").GetComponent <GameStateScript>(); ps = GameObject.Find("PlayerStatus").GetComponent <PlayerStatusScript>(); scene = GameObject.Find("SceneChanger").GetComponent <SceneChangerScript>(); }
// Start is called before the first frame update void Start() { PlayerHere = false; scene = GameObject.Find("SceneChanger").GetComponent <SceneChangerScript>(); player = GameObject.Find("Player").GetComponent <PlayerScript>(); gs = GameObject.Find("GameStatus").GetComponent <GameStatusScript>(); bubble = GameObject.Find("PlayerBubble").GetComponent <Animator>(); dialogue = GameObject.Find("DialoguePopup").GetComponent <DialoguePopupScript>(); gm = GameObject.Find("_GM").GetComponent <_GM_Script>(); }
void Start() { gm = GameObject.Find("_GM").GetComponent <_GM_Script>(); player = GameObject.Find("Player").GetComponent <PlayerScript>(); gs = GameObject.Find("GameStatus").GetComponent <GameStatusScript>(); dialogue = GameObject.Find("DialoguePopup").GetComponent <DialoguePopupScript>(); bubble = GameObject.Find("PlayerBubble").GetComponent <Animator>(); scene = GameObject.Find("SceneChanger").GetComponent <SceneChangerScript>(); this.StartCoroutine(StartNPC()); }
void Start() { justStarted = false; player = GameObject.Find("Player").GetComponent <PlayerScript>(); gs = GameObject.Find("GameStatus").GetComponent <GameStatusScript>(); state = GameObject.Find("GameState").GetComponent <GameStateScript>(); es = GameObject.Find("EnemyStatus").GetComponent <EnemyStatusScript>(); loc = GameObject.Find("LocationStatus").GetComponent <LocationStatusScript>(); scene = GameObject.Find("SceneChanger").GetComponent <SceneChangerScript>(); this.StartCoroutine(StartGame()); }
// Start is called before the first frame update void Start() { count = 0; waiting = false; gm = GameObject.Find("_GM").GetComponent <_GM_Script>(); loc = GameObject.Find("LocationController").GetComponent <LocationControllerScript>(); scene = GameObject.Find("SceneChanger").GetComponent <SceneChangerScript>(); bubble = GameObject.Find("PlayerBubble").GetComponent <Animator>(); player = GameObject.Find("Player").GetComponent <PlayerScript>(); gs = GameObject.Find("GameStatus").GetComponent <GameStatusScript>(); player.PlayerLoc = 5; hidethis.SetActive(false); }
void Start() { newgamebutton.Select(); gs = GameObject.Find("GameStatus").GetComponent <GameStatusScript>(); state = GameObject.Find("GameState").GetComponent <GameStateScript>(); scene = GameObject.Find("SceneChanger").GetComponent <SceneChangerScript>(); // set GameState to mainmenu state.SetGameState(GameStateScript.GameState.MAIN_MENU); // set gameplay to none state.SetPlayState(GameStateScript.PlayState.NONE); // Set GameStatus to New gs.StartNewGame = true; hidemusic.SetActive(false); }
public void AcceptButton() { firstTime = true; SceneChangerScript.SceneChanger(1); }