public void ChangeState(shooterState s) { if (state != s) { state = s; timeOfAction = 0f; } }
void Reload() { LoadWeapon(0); state = shooterState.SHOOTING; timeOfAction = 0f; }
public void ChangeState(shooterState s) { if (state != s) { state = s; timeOfAction = 0f; } }
void Reload() { LoadWeapon(0); state = shooterState.SHOOTING; timeOfAction = 0f; }