// Update is called once per frame void Update() { // Rotate movement.Rotate(); // Move movement.Move(); // Shoot attack.Shoot(); // Reload attack.ReloadInit(); shootCooldown -= Time.deltaTime; }
public void Rotate(float rotateDir) { bodyTransform = movement.Rotate(bodyTransform, rotateDir); }
public void Rotate(float rotateDir) { parentTransform = movement.Rotate(parentTransform, rotateDir); }