コード例 #1
0
 // Use this for initialization
 void Start()
 {
     #if UNITY_IPHONE
     instance = GameCenterSingleton.Instance;
     #endif
 }
コード例 #2
0
ファイル: Manager.cs プロジェクト: hellaeon/ragdoll_keeper
 // 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;
 }