Beispiel #1
0
 // Start is called before the first frame update
 void Start()
 {
     player   = FindObjectOfType <Player>();
     DeadBody = FindObjectOfType <Deathbody>();
     fly();
     StartCoroutine(Explode());
 }
Beispiel #2
0
 // Update is called once per frame
 void Update()
 {
     player   = FindObjectOfType <Player>();
     DeadBody = FindObjectOfType <Deathbody>();
 }