Exemplo n.º 1
0
 public static int set_shadowCustomResolution_wrap(long L)
 {
     try
     {
         long nThisPtr         = FCLibHelper.fc_get_inport_obj_ptr(L);
         UnityEngine.Light ret = get_obj(nThisPtr);
         int arg0 = FCLibHelper.fc_get_int(L, 0);
         ret.shadowCustomResolution = arg0;
     }
     catch (Exception e)
     {
         Debug.LogException(e);
     }
     return(0);
 }
Exemplo n.º 2
0
 public static int set_quality_wrap(long L)
 {
     try
     {
         long nThisPtr = FCLibHelper.fc_get_inport_obj_ptr(L);
         SkinnedMeshRenderer     ret  = get_obj(nThisPtr);
         UnityEngine.SkinQuality arg0 = (UnityEngine.SkinQuality)(FCLibHelper.fc_get_int(L, 0));
         ret.quality = arg0;
     }
     catch (Exception e)
     {
         Debug.LogException(e);
     }
     return(0);
 }
Exemplo n.º 3
0
 public static int set_realtimeLightmapIndex_wrap(long L)
 {
     try
     {
         long     nThisPtr = FCLibHelper.fc_get_inport_obj_ptr(L);
         Renderer ret      = get_obj(nThisPtr);
         int      arg0     = FCLibHelper.fc_get_int(L, 0);
         ret.realtimeLightmapIndex = arg0;
     }
     catch (Exception e)
     {
         Debug.LogException(e);
     }
     return(0);
 }
Exemplo n.º 4
0
 public static int set_sortingOrder_wrap(long L)
 {
     try
     {
         long     nThisPtr = FCLibHelper.fc_get_inport_obj_ptr(L);
         Renderer ret      = get_obj(nThisPtr);
         int      arg0     = FCLibHelper.fc_get_int(L, 0);
         ret.sortingOrder = arg0;
     }
     catch (Exception e)
     {
         Debug.LogException(e);
     }
     return(0);
 }
Exemplo n.º 5
0
 public static int set_cullingMask_wrap(long L)
 {
     try
     {
         long nThisPtr         = FCLibHelper.fc_get_inport_obj_ptr(L);
         UnityEngine.Light ret = get_obj(nThisPtr);
         int arg0 = FCLibHelper.fc_get_int(L, 0);
         ret.cullingMask = arg0;
     }
     catch (Exception e)
     {
         Debug.LogException(e);
     }
     return(0);
 }
Exemplo n.º 6
0
 public static int set_type_wrap(long L)
 {
     try
     {
         long nThisPtr              = FCLibHelper.fc_get_inport_obj_ptr(L);
         UnityEngine.Light     ret  = get_obj(nThisPtr);
         UnityEngine.LightType arg0 = (UnityEngine.LightType)(FCLibHelper.fc_get_int(L, 0));
         ret.type = arg0;
     }
     catch (Exception e)
     {
         Debug.LogException(e);
     }
     return(0);
 }
Exemplo n.º 7
0
 public static int LoadRawTextureData1_wrap(long L)
 {
     try
     {
         long          nThisPtr = FCLibHelper.fc_get_inport_obj_ptr(L);
         Texture2D     obj      = get_obj(nThisPtr);
         System.IntPtr arg0     = FCGetObj.GetObj <System.IntPtr>(FCLibHelper.fc_get_intptr(L, 0));
         int           arg1     = FCLibHelper.fc_get_int(L, 1);
         obj.LoadRawTextureData(arg0, arg1);
     }
     catch (Exception e)
     {
         Debug.LogException(e);
     }
     return(0);
 }
Exemplo n.º 8
0
 public static int UnloadSceneAsync_wrap(long L)
 {
     try
     {
         int arg0 = FCLibHelper.fc_get_int(L, 0);
         UnityEngine.AsyncOperation ret = UnityEngine.SceneManagement.SceneManager.UnloadSceneAsync(arg0);
         long ret_ptr = FCLibHelper.fc_get_return_ptr(L);
         long v       = FCGetObj.PushObj(ret);
         FCLibHelper.fc_set_value_wrap_objptr(ret_ptr, v);
     }
     catch (Exception e)
     {
         Debug.LogException(e);
     }
     return(0);
 }
Exemplo n.º 9
0
 public static int GetSceneByBuildIndex_wrap(long L)
 {
     try
     {
         int arg0 = FCLibHelper.fc_get_int(L, 0);
         UnityEngine.SceneManagement.Scene ret = UnityEngine.SceneManagement.SceneManager.GetSceneByBuildIndex(arg0);
         long ret_ptr = FCLibHelper.fc_get_return_ptr(L);
         long v       = FCGetObj.PushObj(ret);
         FCLibHelper.fc_set_value_wrap_objptr(ret_ptr, v);
     }
     catch (Exception e)
     {
         Debug.LogException(e);
     }
     return(0);
 }
Exemplo n.º 10
0
 public static int CreatePrimitive_wrap(long L)
 {
     try
     {
         UnityEngine.PrimitiveType arg0 = (UnityEngine.PrimitiveType)(FCLibHelper.fc_get_int(L, 0));
         UnityEngine.GameObject    ret  = UnityEngine.GameObject.CreatePrimitive(arg0);
         long ret_ptr = FCLibHelper.fc_get_return_ptr(L);
         long v       = FCGetObj.PushObj(ret);
         FCLibHelper.fc_set_value_wrap_objptr(ret_ptr, v);
     }
     catch (Exception e)
     {
         Debug.LogException(e);
     }
     return(0);
 }
Exemplo n.º 11
0
 public static int GetAccelerationEvent_wrap(long L)
 {
     try
     {
         int arg0 = FCLibHelper.fc_get_int(L, 0);
         UnityEngine.AccelerationEvent ret = UnityEngine.Input.GetAccelerationEvent(arg0);
         long ret_ptr = FCLibHelper.fc_get_return_ptr(L);
         long v       = FCGetObj.PushObj(ret);
         FCLibHelper.fc_set_value_wrap_objptr(ret_ptr, v);
     }
     catch (Exception e)
     {
         Debug.LogException(e);
     }
     return(0);
 }
Exemplo n.º 12
0
 public static int GetTouch_wrap(long L)
 {
     try
     {
         int   arg0    = FCLibHelper.fc_get_int(L, 0);
         Touch ret     = Input.GetTouch(arg0);
         long  ret_ptr = FCLibHelper.fc_get_return_ptr(L);
         long  v       = FCGetObj.PushObj(ret);
         FCLibHelper.fc_set_value_intptr(ret_ptr, v);
     }
     catch (Exception e)
     {
         Debug.LogException(e);
     }
     return(0);
 }
Exemplo n.º 13
0
 public static int GetKeyUp1_wrap(long L)
 {
     try
     {
         long VM = FCLibHelper.fc_get_vm_ptr(L);
         UnityEngine.KeyCode arg0 = (UnityEngine.KeyCode)(FCLibHelper.fc_get_int(L, 0));
         bool ret     = UnityEngine.Input.GetKeyUp(arg0);
         long ret_ptr = FCLibHelper.fc_get_return_ptr(L);
         FCLibHelper.fc_set_value_bool(ret_ptr, ret);
     }
     catch (Exception e)
     {
         Debug.LogException(e);
     }
     return(0);
 }
Exemplo n.º 14
0
 public static int TestFunc1_wrap(long L)
 {
     try
     {
         long   VM   = FCLibHelper.fc_get_vm_ptr(L);
         int    arg0 = FCLibHelper.fc_get_int(L, 0);
         string arg1 = FCLibHelper.fc_get_string_a(L, 1);
         UnityEngine.Transform arg2 = FCGetObj.GetObj <UnityEngine.Transform>(FCLibHelper.fc_get_wrap_objptr(L, 2));
         UserClass.TestFunc1(arg0, arg1, arg2);
     }
     catch (Exception e)
     {
         Debug.LogException(e);
     }
     return(0);
 }
Exemplo n.º 15
0
 public static int SetValue_wrap(long L)
 {
     try
     {
         long     VM       = FCLibHelper.fc_get_vm_ptr(L);
         long     nThisPtr = FCLibHelper.fc_get_inport_obj_ptr(L);
         TestPart obj      = get_obj(nThisPtr);
         int      arg0     = FCLibHelper.fc_get_int(L, 0);
         obj.SetValue(arg0);
     }
     catch (Exception e)
     {
         Debug.LogException(e);
     }
     return(0);
 }
Exemplo n.º 16
0
 public static int SetBlendShapeWeight_wrap(long L)
 {
     try
     {
         long nThisPtr           = FCLibHelper.fc_get_inport_obj_ptr(L);
         SkinnedMeshRenderer obj = get_obj(nThisPtr);
         int   arg0 = FCLibHelper.fc_get_int(L, 0);
         float arg1 = FCLibHelper.fc_get_float(L, 1);
         obj.SetBlendShapeWeight(arg0, arg1);
     }
     catch (Exception e)
     {
         Debug.LogException(e);
     }
     return(0);
 }
Exemplo n.º 17
0
 public static int GetTextAnchorPivot_wrap(long L)
 {
     try
     {
         UnityEngine.TextAnchor arg0 = (UnityEngine.TextAnchor)(FCLibHelper.fc_get_int(L, 0));
         Vector2 ret      = UnityEngine.UI.Text.GetTextAnchorPivot(arg0);
         long    ret_ptr  = FCLibHelper.fc_get_return_ptr(L);
         Vector2 temp_ret = ret;
         FCLibHelper.fc_set_value_vector2(ret_ptr, ref temp_ret);
     }
     catch (Exception e)
     {
         Debug.LogException(e);
     }
     return(0);
 }
Exemplo n.º 18
0
 public static int GetMouseButtonUp_wrap(long L)
 {
     try
     {
         long VM      = FCLibHelper.fc_get_vm_ptr(L);
         int  arg0    = FCLibHelper.fc_get_int(L, 0);
         bool ret     = UnityEngine.Input.GetMouseButtonUp(arg0);
         long ret_ptr = FCLibHelper.fc_get_return_ptr(L);
         FCLibHelper.fc_set_value_bool(ret_ptr, ret);
     }
     catch (Exception e)
     {
         Debug.LogException(e);
     }
     return(0);
 }
Exemplo n.º 19
0
 public static int SyncLayer_wrap(long L)
 {
     try
     {
         long VM                   = FCLibHelper.fc_get_vm_ptr(L);
         long nThisPtr             = FCLibHelper.fc_get_inport_obj_ptr(L);
         UnityEngine.Animation obj = get_obj(nThisPtr);
         int arg0                  = FCLibHelper.fc_get_int(L, 0);
         obj.SyncLayer(arg0);
     }
     catch (Exception e)
     {
         Debug.LogException(e);
     }
     return(0);
 }
Exemplo n.º 20
0
 public static int BroadcastMessage3_wrap(long L)
 {
     try
     {
         long nThisPtr             = FCLibHelper.fc_get_inport_obj_ptr(L);
         UnityEngine.Component obj = get_obj(nThisPtr);
         string arg0 = FCLibHelper.fc_get_string_a(L, 0);
         UnityEngine.SendMessageOptions arg1 = (UnityEngine.SendMessageOptions)(FCLibHelper.fc_get_int(L, 1));
         obj.BroadcastMessage(arg0, arg1);
     }
     catch (Exception e)
     {
         Debug.LogException(e);
     }
     return(0);
 }
Exemplo n.º 21
0
 public static int GetPixels32_wrap(long L)
 {
     try
     {
         long      nThisPtr = FCLibHelper.fc_get_inport_obj_ptr(L);
         Texture2D obj      = get_obj(nThisPtr);
         int       arg0     = FCLibHelper.fc_get_int(L, 0);
         Color32[] ret      = obj.GetPixels32(arg0);
         FCCustomParam.ReturnArray(ret, L);
     }
     catch (Exception e)
     {
         Debug.LogException(e);
     }
     return(0);
 }
 public static int GetLights_wrap(long L)
 {
     try
     {
         UnityEngine.LightType arg0 = (UnityEngine.LightType)(FCLibHelper.fc_get_int(L, 0));
         int     arg1    = FCLibHelper.fc_get_int(L, 1);
         Light[] ret     = Light.GetLights(arg0, arg1);
         long    ret_ptr = FCLibHelper.fc_get_return_ptr(L);
         FCCustomParam.ReturnArray(ret, ret_ptr);
     }
     catch (Exception e)
     {
         Debug.LogException(e);
     }
     return(0);
 }
Exemplo n.º 23
0
 public static int SendMessage_wrap(long L)
 {
     try
     {
         long nThisPtr                       = FCLibHelper.fc_get_inport_obj_ptr(L);
         UnityEngine.Component obj           = get_obj(nThisPtr);
         string        arg0                  = FCLibHelper.fc_get_string_a(L, 0);
         System.Object arg1                  = FCGetObj.GetSystemObj(FCLibHelper.fc_get_param_ptr(L, 1));
         UnityEngine.SendMessageOptions arg2 = (UnityEngine.SendMessageOptions)(FCLibHelper.fc_get_int(L, 2));
         obj.SendMessage(arg0, arg1, arg2);
     }
     catch (Exception e)
     {
         Debug.LogException(e);
     }
     return(0);
 }
Exemplo n.º 24
0
 public static int LoadRawTextureData1_wrap(long L)
 {
     try
     {
         long nThisPtr             = FCLibHelper.fc_get_inport_obj_ptr(L);
         UnityEngine.Texture2D obj = get_obj(nThisPtr);
         IntPtr arg0 = new IntPtr();
         FCLibHelper.fc_get_void_ptr(L, 0, ref arg0);
         int arg1 = FCLibHelper.fc_get_int(L, 1);
         obj.LoadRawTextureData(arg0, arg1);
     }
     catch (Exception e)
     {
         Debug.LogException(e);
     }
     return(0);
 }
Exemplo n.º 25
0
 public static int SetPixels321_wrap(long L)
 {
     try
     {
         long nThisPtr              = FCLibHelper.fc_get_inport_obj_ptr(L);
         UnityEngine.Texture2D obj  = get_obj(nThisPtr);
         Color32[]             arg0 = null;
         arg0 = FCCustomParam.GetArray(ref arg0, L, 0);
         int arg1 = FCLibHelper.fc_get_int(L, 1);
         obj.SetPixels32(arg0, arg1);
     }
     catch (Exception e)
     {
         Debug.LogException(e);
     }
     return(0);
 }
Exemplo n.º 26
0
 public static int  obj_new1(long L)
 {
     try
     {
         int arg0 = FCLibHelper.fc_get_int(L, 0);
         int arg1 = FCLibHelper.fc_get_int(L, 1);
         UnityEngine.Texture2D obj = new UnityEngine.Texture2D(arg0, arg1);
         long nPtr = FCGetObj.PushNewObj <UnityEngine.Texture2D>(obj);
         long ret  = FCLibHelper.fc_get_return_ptr(L);
         FCLibHelper.fc_set_value_wrap_objptr(ret, nPtr);
     }
     catch (Exception e)
     {
         Debug.LogException(e);
     }
     return(0);
 }
Exemplo n.º 27
0
 public static int SetValue_wrap(long L)
 {
     try
     {
         long  nThisPtr = FCLibHelper.fc_get_inport_obj_ptr(L);
         TestD obj      = get_obj(nThisPtr);
         int   arg0     = FCLibHelper.fc_get_int(L, 0);
         int   ret      = obj.SetValue(arg0);
         long  ret_ptr  = FCLibHelper.fc_get_return_ptr(L);
         FCLibHelper.fc_set_value_int(ret_ptr, ret);
     }
     catch (Exception e)
     {
         Debug.LogException(e);
     }
     return(0);
 }
Exemplo n.º 28
0
 public static int TestFunc1_wrap(long L)
 {
     try
     {
         int     arg0 = FCLibHelper.fc_get_int(L, 0);
         string  arg1 = FCLibHelper.fc_get_string_a(L, 1);
         Vector3 arg2 = new Vector3();
         FCLibHelper.fc_get_vector3(L, 2, ref arg2);
         UnityEngine.Transform arg3 = FCGetObj.GetObj <UnityEngine.Transform>(FCLibHelper.fc_get_wrap_objptr(L, 3));
         UserClass.TestFunc1(arg0, arg1, arg2, arg3);
     }
     catch (Exception e)
     {
         Debug.LogException(e);
     }
     return(0);
 }
Exemplo n.º 29
0
 public static int CrossFade_wrap(long L)
 {
     try
     {
         long nThisPtr             = FCLibHelper.fc_get_inport_obj_ptr(L);
         UnityEngine.Animation obj = get_obj(nThisPtr);
         string arg0 = FCLibHelper.fc_get_string_a(L, 0);
         float  arg1 = FCLibHelper.fc_get_float(L, 1);
         UnityEngine.PlayMode arg2 = (UnityEngine.PlayMode)(FCLibHelper.fc_get_int(L, 2));
         obj.CrossFade(arg0, arg1, arg2);
     }
     catch (Exception e)
     {
         Debug.LogException(e);
     }
     return(0);
 }
Exemplo n.º 30
0
 public static int Play1_wrap(long L)
 {
     try
     {
         long nThisPtr              = FCLibHelper.fc_get_inport_obj_ptr(L);
         UnityEngine.Animation obj  = get_obj(nThisPtr);
         UnityEngine.PlayMode  arg0 = (UnityEngine.PlayMode)(FCLibHelper.fc_get_int(L, 0));
         bool ret     = obj.Play(arg0);
         long ret_ptr = FCLibHelper.fc_get_return_ptr(L);
         FCLibHelper.fc_set_value_bool(ret_ptr, ret);
     }
     catch (Exception e)
     {
         Debug.LogException(e);
     }
     return(0);
 }