// Use this for initialization void Start() { dc = GameObject.Find("GameObject_cursor").GetComponent <Detect_click> (); crossbow = GameObject.Find("Crossbow").GetComponent <UpdateCursor_crossbow_button> (); help_eraser_flash = GameObject.Find("help_eraser_flash"); help_eraser_flash.SetActive(false); }
// Use this for initialization void Start() { animator = GameObject.Find("Billie").GetComponent <Animator>(); dc = GameObject.Find("GameObject_cursor").GetComponent <Detect_click> (); eraser = GameObject.Find("Eraser").GetComponent <UpdateCursor_eraser_button> (); // arrow helpbox for shooting: panel_arrow = GameObject.Find("help_arrow"); panel_arrow.SetActive(false); }
void Start() { cursor = GameObject.FindGameObjectWithTag("MainCamera").GetComponent <HandleCursor> (); dc = GameObject.Find("GameObject_cursor").GetComponent <Detect_click> (); l9 = GameObject.Find("CheckpointFlag9").GetComponent <lvl9> (); lb = GameObject.Find("GUI").GetComponent <LeaderboardTestGUI> (); //sound = GameObject.Find ("Environmental Sound"); footsound = GameObject.Find("Billie").GetComponent <AudioSource> (); Time.timeScale = 1; starObjects = GameObject.FindGameObjectsWithTag("lvl10"); txt = GameObject.Find("score_text10").GetComponent <Text>(); hidestars(); }
void Start() { menuObjects = GameObject.FindGameObjectsWithTag("MenuButton"); block7 = GameObject.Find("blocker7"); block7.SetActive(false); cursor = GameObject.FindGameObjectWithTag("MainCamera").GetComponent <HandleCursor> (); dc = GameObject.Find("GameObject_cursor").GetComponent <Detect_click> (); l6 = GameObject.Find("CheckpointFlag6").GetComponent <lvl6> (); lb = GameObject.Find("GUI").GetComponent <LeaderboardTestGUI> (); //sound = GameObject.Find ("Environmental Sound"); footsound = GameObject.Find("Billie").GetComponent <AudioSource> (); Time.timeScale = 1; starObjects = GameObject.FindGameObjectsWithTag("lvl7"); txt = GameObject.Find("score_text7").GetComponent <Text>(); hidestars(); }
void Start() { menuObjects = GameObject.FindGameObjectsWithTag("MenuButton"); block2 = GameObject.Find("blocker2"); block2.SetActive(false); //blocker surrounding level 2 is innitially inactive cursor = GameObject.FindGameObjectWithTag("MainCamera").GetComponent <HandleCursor> (); dc = GameObject.Find("GameObject_cursor").GetComponent <Detect_click> (); l1 = GameObject.Find("CheckpointFlag1").GetComponent <lvl1>(); lb = GameObject.Find("GUI").GetComponent <LeaderboardTestGUI> (); //sound = GameObject.Find ("Environmental Sound"); footsound = GameObject.Find("Billie").GetComponent <AudioSource> (); Time.timeScale = 1; starObjects = GameObject.FindGameObjectsWithTag("lvl2"); txt = GameObject.Find("score_text2").GetComponent <Text>(); hidestars(); //initially hide the end of level pop up with stars }
// Use this for initialization void Start() { // cursor: cursor = GameObject.FindGameObjectWithTag("MainCamera").GetComponent <HandleCursor> (); dc = GameObject.Find("GameObject_cursor").GetComponent <Detect_click> (); }
void Start() { dc = GameObject.Find("GameObject_cursor").GetComponent <Detect_click> (); }