// Update is called once per frame void Update() { shootingCD -= Time.deltaTime; if (shootingCD < 0) { act.Shot(); shootingCD = 1f; } }
public void OnShot() { virtualAction.Shot(); }
// Update is called once per frame void Update() { shootingCD -= Time.deltaTime; if (shootingCD < 0) { act.Shot(); shootingCD = 1f; } }
public void OnShot() { virtualAction.Shot(); }