protected override void Act(float _deltaTime) { if (_isActive && !_isDead) { if (_currentBehavior != null) { _currentBehavior.Act(_deltaTime); if (_currentAction != null) { _currentAction.Act(_deltaTime); } } else { base.Act(_deltaTime); } } }