예제 #1
0
 static int OnSubmit(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         UIInputField obj = (UIInputField)ToLua.CheckObject <UIInputField>(L, 1);
         UnityEngine.EventSystems.BaseEventData arg0 = (UnityEngine.EventSystems.BaseEventData)ToLua.CheckObject <UnityEngine.EventSystems.BaseEventData>(L, 2);
         obj.OnSubmit(arg0);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
예제 #2
0
 public InputLine OnSubmit(UnityAction <string> evt)
 {
     input.OnSubmit(evt);
     return(this);
 }