public void StopFire() { _action_framecount = 0; _state = DummyState.Idle; _entity.OnSkill(false); trigger = AnimTriger.EndSkill; if (_attribute != null) { _attribute.Clear(); } }
public void StopFire() { if (_state != DummyState.Fire) { return; } _state = DummyState.Idle; trigger = AnimTriger.EndSkill; if (_attribute != null) { _attribute.Clear(); } _action_framecount = 0; _camera.EndEffect(null); nResultForward = Vector3.zero; Time.timeScale = 1; if (ator != null) { ator.speed = 1; } }