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