ProcessMouse() public method

Update mouse input.
public ProcessMouse ( ) : void
return void
Ejemplo n.º 1
0
    static int ProcessMouse(IntPtr L)
    {
        LuaScriptMgr.CheckArgsCount(L, 1);
        UICamera obj = (UICamera)LuaScriptMgr.GetUnityObjectSelf(L, 1, "UICamera");

        obj.ProcessMouse();
        return(0);
    }
Ejemplo n.º 2
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);
        }