static int ProcessMouse(IntPtr L) { LuaScriptMgr.CheckArgsCount(L, 1); UICamera obj = (UICamera)LuaScriptMgr.GetUnityObjectSelf(L, 1, "UICamera"); obj.ProcessMouse(); return(0); }
public void ShowPinchGuide() { UnFobiddenAll(); m_Container.CustomSetActive(false); UICamera mainUICamera = UICamera.mainCamera.GetComponent <UICamera>(); bool useTouch = mainUICamera.useTouch; bool useMouse = mainUICamera.useMouse; FobiddenUI(); isFobidden = true; if (useTouch) { mainUICamera.ProcessTouches(); } if (useMouse) { mainUICamera.ProcessMouse(); } controller.Open(); m_PinchFx.CustomSetActive(true); }