// Use this for initialization
 void Start()
 {
     #if UNITY_IPHONE
     instance = GameCenterSingleton.Instance;
     #endif
 }
Пример #2
0
 // Use this for initialization
 void Start()
 {
     // start of game we are in the menu
     game_state = Manager.game_states.MENU;
     game_timer = game_time;
     game_center = GameCenterSingleton.Instance;
 }