private IEnumerator Finish() { IsFinished = true; _continueTextField.enabled = false; _tutorialTextField.GetComponent <Text>().enabled = false; _exitArrow.enabled = true; yield return(new WaitForSeconds(0.5f)); var followingCamera = Camera.main.GetComponent <FollowingCamera>(); if (followingCamera != null) { followingCamera.enabled = true; } _player.Movement.enabled = true; _player.Wand.enabled = true; Dispatch(new EventObject { Sender = this, Type = Finished, Data = null }); }