void Start() { player = GameObject.FindGameObjectWithTag("Player"); movement = player.GetComponent <NewMovement2D>(); levelInt = player.GetComponent <LevelInteractions>(); }
void Start() { timer = GameObject.FindGameObjectWithTag("TimerHandler"); timers = timer.GetComponent <Timers>(); movement = this.GetComponent <NewMovement2D>(); raycast = this.GetComponent <RaycastCollission>(); _anim.GetComponent <Animator>(); }