private void OnTriggerEnter(Collider other) { if (other.CompareTag(Tags.PLAYER_TAG)) { rotatePlatform.ActivateRotation(); } }
public void ActivateMovement() { canMove = true; // play sfx soundFx.PlayAudio(true); // rotate player if (activateRotation) { rotatePlatform.ActivateRotation(); } }