// Use this for initialization void Awake() { highscores = GetComponent <Highscores> (); player = GameObject.Find("RockPlayer"); gameTime = GameObject.Find("GameTimeView").GetComponent <GameTimeView> (); levelHandler = GameObject.Find("LevelHandler").GetComponent <LevelHandlerC> (); gameUIHelper = GameObject.Find("GameUIHelper").GetComponent <GameUIHelper> (); googleGame = GameObject.Find("LittleRockstarGoogleGame").GetComponent <LittleRockstarGoogleGame> (); }
// Use this for initialization void Awake() { highscores = GetComponent<Highscores> (); player = GameObject.Find ("RockPlayer"); gameTime = GameObject.Find ("GameTimeView").GetComponent<GameTimeView> (); levelHandler = GameObject.Find ("LevelHandler").GetComponent<LevelHandlerC> (); gameUIHelper = GameObject.Find ("GameUIHelper").GetComponent<GameUIHelper> (); googleGame = GameObject.Find ("LittleRockstarGoogleGame").GetComponent<LittleRockstarGoogleGame> (); }