// Use this for initialization void Start () { sceneFadeInOut = screenFader.GetComponent<SceneFadeInOut>(); gameSceneControll = gameScene.GetComponent<GameSceneControll>(); gameOverSceneControll = gameOverScene.GetComponent<GameOverSceneControll>(); googleAnalytics.LogEvent(new EventHitBuilder() .SetEventCategory("Game") .SetEventAction("Open Game")); StartCoroutine( LoginPlayServices() ); CreatSmallBanner(); StartMainMenuScene(); }
public void Awake() { levelUpLabel = GameObject.Find( "LevelUpLabel" ); gameSceneControll = GameObject.Find( "GameScene" ).GetComponent<GameSceneControll>(); }
void Awake () { gameSceneControll = GameObject.Find( "GameScene" ).GetComponent<GameSceneControll>(); }