mirror of
https://github.com/NotAKidoS/NAK_CVR_Mods.git
synced 2025-09-02 06:19:22 +00:00
overcomplicate
This commit is contained in:
parent
b87047df2f
commit
c42e28f340
3 changed files with 11 additions and 3 deletions
|
@ -44,7 +44,6 @@ public class ThirdPerson : MelonMod
|
|||
if (!Input.GetKey(KeyCode.LeftControl)) return;
|
||||
if (Input.GetKeyDown(KeyCode.T)) State = !State;
|
||||
if (!State || !Input.GetKeyDown(KeyCode.Y)) return;
|
||||
int cycle = Input.GetKeyDown(KeyCode.LeftShift) ? -1 : 1;
|
||||
RelocateCam((CameraLocation)(((int)CurrentLocation + cycle) % Enum.GetValues(typeof(CameraLocation)).Length), true);
|
||||
RelocateCam((CameraLocation)(((int)CurrentLocation + (Input.GetKey(KeyCode.LeftShift) ? -1 : 1) + Enum.GetValues(typeof(CameraLocation)).Length) % Enum.GetValues(typeof(CameraLocation)).Length), true);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue