OnPointerUp() public method

public OnPointerUp ( PointerEventData eventData ) : void
eventData PointerEventData
return void
Ejemplo n.º 1
0
    static int OnPointerUp(IntPtr L)
    {
        LuaScriptMgr.CheckArgsCount(L, 2);
        UIEventListener  obj  = (UIEventListener)LuaScriptMgr.GetUnityObjectSelf(L, 1, "UIEventListener");
        PointerEventData arg0 = (PointerEventData)LuaScriptMgr.GetNetObject(L, 2, typeof(PointerEventData));

        obj.OnPointerUp(arg0);
        return(0);
    }
Ejemplo n.º 2
0
    static int OnPointerUp(IntPtr L)
    {
        LuaScriptMgr.CheckArgsCount(L, 2);
        UIEventListener  obj  = LuaScriptMgr.GetUnityObject <UIEventListener>(L, 1);
        PointerEventData arg0 = LuaScriptMgr.GetNetObject <PointerEventData>(L, 2);

        obj.OnPointerUp(arg0);
        return(0);
    }
Ejemplo n.º 3
0
 static int OnPointerUp(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         UIEventListener obj = (UIEventListener)ToLua.CheckObject(L, 1, typeof(UIEventListener));
         UnityEngine.EventSystems.PointerEventData arg0 = (UnityEngine.EventSystems.PointerEventData)ToLua.CheckObject(L, 2, typeof(UnityEngine.EventSystems.PointerEventData));
         obj.OnPointerUp(arg0);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
Ejemplo n.º 4
0
 IEnumerator LaterUp(UIEventListener listener)
 {
     yield return null;
     if(listener && listener.enabled)
         listener.OnPointerUp(new PointerEventData(EventSystem.current));
 }