private void Update() { if (currentState != null) { currentState.Execute(); } }
// Update is called once per frame void Update() { currentState.Execute(); LookAtTarget(); }
protected override void Update() { base.Update(); _currentState.Execute(); SetBossAnimation(); }