internal void Update() { if (!rotating || !WorldAllowed) { return; } holdingShift = Input.GetKey(KeyCode.LeftShift); if (!BarrelRolling && CurrentControlScheme.HandleInput(playerTransform, cameraTransform)) { alignTrackingToPlayer(); } }
internal void OnUpdate() { if (!rotating || !WorldAllowed) { return; } holdingShift = Input.GetKey(KeyCode.LeftShift); if (CurrentControlScheme.HandleInput(playerTransform, cameraTransform, FlyingSpeed * (holdingShift ? 2f : 1f))) { alignTrackingToPlayer(); } }