ProcessTouches() 공개 메소드

Update touch-based events.
public ProcessTouches ( ) : void
리턴 void
예제 #1
0
    static int ProcessTouches(IntPtr L)
    {
        LuaScriptMgr.CheckArgsCount(L, 1);
        UICamera obj = (UICamera)LuaScriptMgr.GetUnityObjectSelf(L, 1, "UICamera");

        obj.ProcessTouches();
        return(0);
    }
예제 #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);
        }