示例#1
0
文件: Player.cs 项目: sballmer/Unity
    // Use this for initialization
    void Start()
    {
        respawnButton = false;
        spawnPos      = playerSpawPoint.GetComponentsInChildren <Transform>();

        innerVoice = GetComponentInChildren <InnerVoice>();
        innerVoice.PlayWhatHappened();
    }
示例#2
0
 void Start()
 {
     spawnPoints = spawnPointsParent.GetComponentsInChildren <Transform>();
     innerVoice  = GetComponentInChildren <InnerVoice> ();
 }
示例#3
0
 void Start()
 {
     spawnPoints = GameObject.Find("PlayerSpawnPoints").GetComponentsInChildren <Transform>();
     innerVoice  = GetComponentInChildren <InnerVoice>();
     clearArea   = GetComponentInChildren <ClearArea>();
 }
 // Use this for initialization
 void Start()
 {
     playerSpawner = GameObject.Find("Player Spawn Points");
     spawned       = false;
     innerVoice    = GetComponent <InnerVoice>();
 }
示例#5
0
 void Start()
 {
     spawnPoints = GameObject.Find("PlayerSpawnPoints").GetComponentsInChildren<Transform>();
     innerVoice = GetComponentInChildren<InnerVoice>();
     clearArea = GetComponentInChildren<ClearArea>();
 }