コード例 #1
0
 // Use this for initialization
 void Start()
 {
     objectCount     = objects.Length;
     obstacleCount   = obstacles.Length;
     spawnStuffBlock = true;
     game            = KasideGameManager.Instance;
 }
コード例 #2
0
 void Awake()
 {
     if (Instance == null)
     {
         Instance = this;
     }
     else if (Instance != this)
     {
         Destroy(gameObject);
     }
 }
コード例 #3
0
 void Start()
 {
     game = KasideGameManager.Instance;
 }