private void Awake() { _gameManager = FindObjectOfType <GameManager>(); _nav = GetComponent <NavChasePlayer>(); }
private void Awake() { _directionManager = GetComponent <DirectionManager>(); _directionManager.Animation = IdleAnimation; _nav = GetComponent <NavChasePlayer>(); }