OnPointerClick() public method

public OnPointerClick ( PointerEventData eventData ) : void
eventData PointerEventData
return void
コード例 #1
0
    static int OnPointerClick(IntPtr L)
    {
        LuaScriptMgr.CheckArgsCount(L, 2);
        UIEventListener  obj  = (UIEventListener)LuaScriptMgr.GetUnityObjectSelf(L, 1, "UIEventListener");
        PointerEventData arg0 = (PointerEventData)LuaScriptMgr.GetNetObject(L, 2, typeof(PointerEventData));

        obj.OnPointerClick(arg0);
        return(0);
    }
コード例 #2
0
    static int OnPointerClick(IntPtr L)
    {
        LuaScriptMgr.CheckArgsCount(L, 2);
        UIEventListener  obj  = LuaScriptMgr.GetUnityObject <UIEventListener>(L, 1);
        PointerEventData arg0 = LuaScriptMgr.GetNetObject <PointerEventData>(L, 2);

        obj.OnPointerClick(arg0);
        return(0);
    }
コード例 #3
0
 static int OnPointerClick(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.OnPointerClick(arg0);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }