Beispiel #1
0
 private void Start()
 {
     player_Pack           = GameObject.Find("Player_Pack(Clone)");
     player_PackController = player_Pack.GetComponent <Player_PackController>();
 }
Beispiel #2
0
 void Start()
 {
     playerStatus          = this.GetComponent <PlayerStatus>();
     player_PackController = this.GetComponentInParent <Player_PackController>();
 }