mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
Updated CameraMove
This commit is contained in:
parent
e6029c6e41
commit
b76a9e2634
@ -18,10 +18,10 @@ enum RotationAxes : byte { MouseXAndY, MouseX, MouseY }
|
||||
void LateUpdate()
|
||||
{
|
||||
// this doesn't seem to work for allowing button clicks
|
||||
if (EventSystem.current.IsPointerOverGameObject())
|
||||
return;
|
||||
//if (EventSystem.current.IsPointerOverGameObject())
|
||||
// return;
|
||||
|
||||
// workaround for above so can hold shift to click buttons
|
||||
// workaround for above - must hold LeftShift to manipulate camera
|
||||
if (!Input.GetKey(KeyCode.LeftShift))
|
||||
return;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user