Пример #1
0
	// 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();

	}
Пример #2
0
	public void Awake() {

		levelUpLabel = GameObject.Find( "LevelUpLabel" );
		gameSceneControll = GameObject.Find( "GameScene" ).GetComponent<GameSceneControll>();

	}
Пример #3
0
	void Awake ()
	{
		gameSceneControll = GameObject.Find( "GameScene" ).GetComponent<GameSceneControll>();
	}