private void Awake() { player = FindObjectOfType <Player>(); lineOfDeath = FindObjectOfType <LineOfDeath>(); platformAnim = GetComponent <Animator>(); }
private void Awake() { player = FindObjectOfType <Player>(); lineOfDeath = FindObjectOfType <LineOfDeath>(); }