Beispiel #1
0
 // Start is called before the first frame update
 void OnEnable()
 {
     player           = FindObjectOfType <PlayerAllinOne>().gameObject;
     playerAllInOne   = FindObjectOfType <PlayerAllinOne>();
     playerSpawnPoint = this.transform.position;
 }
Beispiel #2
0
 void OnEnable()
 {
     playerAllInOne = FindObjectOfType <PlayerAllinOne>();
 }