Example #1
0
 static int OnControllerColliderHit(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         BehaviorDesigner.Runtime.Tasks.Task obj  = (BehaviorDesigner.Runtime.Tasks.Task)ToLua.CheckObject <BehaviorDesigner.Runtime.Tasks.Task>(L, 1);
         UnityEngine.ControllerColliderHit   arg0 = (UnityEngine.ControllerColliderHit)ToLua.CheckObject <UnityEngine.ControllerColliderHit>(L, 2);
         obj.OnControllerColliderHit(arg0);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }