Esempio n. 1
0
 static int RegisterCursor(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 4);
         FairyGUI.Stage        obj  = (FairyGUI.Stage)ToLua.CheckObject <FairyGUI.Stage>(L, 1);
         string                arg0 = ToLua.CheckString(L, 2);
         UnityEngine.Texture2D arg1 = (UnityEngine.Texture2D)ToLua.CheckObject(L, 3, typeof(UnityEngine.Texture2D));
         UnityEngine.Vector2   arg2 = ToLua.ToVector2(L, 4);
         obj.RegisterCursor(arg0, arg1, arg2);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }