コード例 #1
0
    void Start()
    {
        started = false;
        finished = false;
        failed = true;
        ro = respawnObj.GetComponent<RespawnableObjects> ();
        cro = carrotRespawnObj.GetComponent<RespawnableObjects> ();

        carrots = new List<GameObject> ();
    }
コード例 #2
0
 void Start()
 {
     ro = respawn.GetComponent<RespawnableObjects> ();
 }
コード例 #3
0
 void Start()
 {
     minmax = new GameObject[2];
     if (respawnableController != null) {
         ro = respawnableController.GetComponent<RespawnableObjects> ();
     }
 }