コード例 #1
0
 public static int get_accelerationEvents_wrap(long L)
 {
     try
     {
         long ret_ptr = FCLibHelper.fc_get_return_ptr(L);
         FCCustomParam.ReturnArray(UnityEngine.Input.accelerationEvents, ret_ptr);
     }
     catch (Exception e)
     {
         Debug.LogException(e);
     }
     return(0);
 }
コード例 #2
0
 public static int get_touches_wrap(long L)
 {
     try
     {
         long ret_ptr = FCLibHelper.fc_get_return_ptr(L);
         FCCustomParam.ReturnArray(Input.touches, ret_ptr);
     }
     catch (Exception e)
     {
         Debug.LogException(e);
     }
     return(0);
 }
コード例 #3
0
 public static int GetJoystickNames_wrap(long L)
 {
     try
     {
         string[] ret     = Input.GetJoystickNames();
         long     ret_ptr = FCLibHelper.fc_get_return_ptr(L);
         FCCustomParam.ReturnArray(ret, ret_ptr);
     }
     catch (Exception e)
     {
         Debug.LogException(e);
     }
     return(0);
 }
コード例 #4
0
 public static int get_bones_wrap(long L)
 {
     try
     {
         long nThisPtr           = FCLibHelper.fc_get_inport_obj_ptr(L);
         SkinnedMeshRenderer ret = get_obj(nThisPtr);
         FCCustomParam.ReturnArray(ret.bones, L);
     }
     catch (Exception e)
     {
         Debug.LogException(e);
     }
     return(0);
 }
コード例 #5
0
 public static int get_touches_wrap(long L)
 {
     try
     {
         long  nThisPtr = FCLibHelper.fc_get_inport_obj_ptr(L);
         Input ret      = get_obj(nThisPtr);
         FCCustomParam.ReturnArray(Input.touches, L);
     }
     catch (Exception e)
     {
         Debug.LogException(e);
     }
     return(0);
 }
コード例 #6
0
 public static int get_materials_wrap(long L)
 {
     try
     {
         long       nThisPtr = FCLibHelper.fc_get_inport_obj_ptr(L);
         TestExport ret      = get_obj(nThisPtr);
         FCCustomParam.ReturnArray(ret.materials, L);
     }
     catch (Exception e)
     {
         Debug.LogException(e);
     }
     return(0);
 }
コード例 #7
0
 public static int FindGameObjectsWithTag_wrap(long L)
 {
     try
     {
         string arg0 = FCLibHelper.fc_get_string_a(L, 0);
         UnityEngine.GameObject[] ret = UnityEngine.GameObject.FindGameObjectsWithTag(arg0);
         long ret_ptr = FCLibHelper.fc_get_return_ptr(L);
         FCCustomParam.ReturnArray(ret, ret_ptr);
     }
     catch (Exception e)
     {
         Debug.LogException(e);
     }
     return(0);
 }
コード例 #8
0
 public static int get_accelerationEvents_wrap(long L)
 {
     try
     {
         long  nThisPtr = FCLibHelper.fc_get_inport_obj_ptr(L);
         Input ret      = get_obj(nThisPtr);
         long  ret_ptr  = FCLibHelper.fc_get_return_ptr(L);
         FCCustomParam.ReturnArray(Input.accelerationEvents, ret_ptr);
     }
     catch (Exception e)
     {
         Debug.LogException(e);
     }
     return(0);
 }
コード例 #9
0
 public static int GetPixels321_wrap(long L)
 {
     try
     {
         long      nThisPtr = FCLibHelper.fc_get_inport_obj_ptr(L);
         Texture2D obj      = get_obj(nThisPtr);
         Color32[] ret      = obj.GetPixels32();
         FCCustomParam.ReturnArray(ret, L);
     }
     catch (Exception e)
     {
         Debug.LogException(e);
     }
     return(0);
 }
コード例 #10
0
 public static int GetJoystickNames_wrap(long L)
 {
     try
     {
         long     nThisPtr = FCLibHelper.fc_get_inport_obj_ptr(L);
         Input    obj      = get_obj(nThisPtr);
         string[] ret      = Input.GetJoystickNames();
         FCCustomParam.ReturnArray(ret, L);
     }
     catch (Exception e)
     {
         Debug.LogException(e);
     }
     return(0);
 }
コード例 #11
0
 public static int FindObjectsOfType_wrap(long L)
 {
     try
     {
         System.Type   arg0    = FCGetObj.GetObj <System.Type>(FCLibHelper.fc_get_wrap_objptr(L, 0));
         UnityObject[] ret     = UnityObject.FindObjectsOfType(arg0);
         long          ret_ptr = FCLibHelper.fc_get_return_ptr(L);
         FCCustomParam.ReturnArray(ret, ret_ptr);
     }
     catch (Exception e)
     {
         Debug.LogException(e);
     }
     return(0);
 }
コード例 #12
0
 public static int get_sharedMaterials_wrap(long L)
 {
     try
     {
         long     nThisPtr = FCLibHelper.fc_get_inport_obj_ptr(L);
         Renderer ret      = get_obj(nThisPtr);
         long     ret_ptr  = FCLibHelper.fc_get_return_ptr(L);
         FCCustomParam.ReturnArray(ret.sharedMaterials, ret_ptr);
     }
     catch (Exception e)
     {
         Debug.LogException(e);
     }
     return(0);
 }
コード例 #13
0
 public static int set_bones_wrap(long L)
 {
     try
     {
         long nThisPtr = FCLibHelper.fc_get_inport_obj_ptr(L);
         SkinnedMeshRenderer     ret  = get_obj(nThisPtr);
         UnityEngine.Transform[] arg0 = null;
         arg0      = FCCustomParam.GetArray(ref arg0, L, 0);
         ret.bones = arg0;
     }
     catch (Exception e)
     {
         Debug.LogException(e);
     }
     return(0);
 }
コード例 #14
0
 public static int FindObjectsOfType_wrap(long L)
 {
     try
     {
         long          nThisPtr = FCLibHelper.fc_get_inport_obj_ptr(L);
         UnityObject   obj      = get_obj(nThisPtr);
         System.Type   arg0     = FCGetObj.GetObj <System.Type>(FCLibHelper.fc_get_intptr(L, 0));
         UnityObject[] ret      = UnityObject.FindObjectsOfType(arg0);
         FCCustomParam.ReturnArray(ret, L);
     }
     catch (Exception e)
     {
         Debug.LogException(e);
     }
     return(0);
 }
コード例 #15
0
 public static int GetRootGameObjects_wrap(long L)
 {
     try
     {
         long nThisPtr = FCLibHelper.fc_get_inport_obj_ptr(L);
         UnityEngine.SceneManagement.Scene obj = get_obj(nThisPtr);
         UnityEngine.GameObject[]          ret = obj.GetRootGameObjects();
         long ret_ptr = FCLibHelper.fc_get_return_ptr(L);
         FCCustomParam.ReturnArray(ret, ret_ptr);
     }
     catch (Exception e)
     {
         Debug.LogException(e);
     }
     return(0);
 }
コード例 #16
0
 public static int GetRootGameObjects1_wrap(long L)
 {
     try
     {
         long nThisPtr = FCLibHelper.fc_get_inport_obj_ptr(L);
         UnityEngine.SceneManagement.Scene obj  = get_obj(nThisPtr);
         List <UnityEngine.GameObject>     arg0 = null;
         arg0 = FCCustomParam.GetList(ref arg0, L, 0);
         obj.GetRootGameObjects(arg0);
     }
     catch (Exception e)
     {
         Debug.LogException(e);
     }
     return(0);
 }
コード例 #17
0
 public static int GetClosestReflectionProbes_wrap(long L)
 {
     try
     {
         long     nThisPtr = FCLibHelper.fc_get_inport_obj_ptr(L);
         Renderer obj      = get_obj(nThisPtr);
         List <UnityEngine.Rendering.ReflectionProbeBlendInfo> arg0 = null;
         arg0 = FCCustomParam.GetList(ref arg0, L, 0);
         obj.GetClosestReflectionProbes(arg0);
     }
     catch (Exception e)
     {
         Debug.LogException(e);
     }
     return(0);
 }
コード例 #18
0
 public static int FindGameObjectsWithTag_wrap(long L)
 {
     try
     {
         long         nThisPtr = FCLibHelper.fc_get_inport_obj_ptr(L);
         GameObject   obj      = get_obj(nThisPtr);
         string       arg0     = FCLibHelper.fc_get_string_a(L, 0);
         GameObject[] ret      = GameObject.FindGameObjectsWithTag(arg0);
         FCCustomParam.ReturnArray(ret, L);
     }
     catch (Exception e)
     {
         Debug.LogException(e);
     }
     return(0);
 }
コード例 #19
0
 public static int set_materials_wrap(long L)
 {
     try
     {
         long                   nThisPtr = FCLibHelper.fc_get_inport_obj_ptr(L);
         TestExport             ret      = get_obj(nThisPtr);
         UnityEngine.Material[] arg0     = null;
         arg0          = FCCustomParam.GetArray(ref arg0, L, 0);
         ret.materials = arg0;
     }
     catch (Exception e)
     {
         Debug.LogException(e);
     }
     return(0);
 }
コード例 #20
0
 public static int GetRawTextureData_wrap(long L)
 {
     try
     {
         long nThisPtr             = FCLibHelper.fc_get_inport_obj_ptr(L);
         UnityEngine.Texture2D obj = get_obj(nThisPtr);
         byte[] ret     = obj.GetRawTextureData();
         long   ret_ptr = FCLibHelper.fc_get_return_ptr(L);
         FCCustomParam.ReturnArray(ret, ret_ptr);
     }
     catch (Exception e)
     {
         Debug.LogException(e);
     }
     return(0);
 }
コード例 #21
0
 public static int SetPixels32_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);
         obj.SetPixels32(arg0);
     }
     catch (Exception e)
     {
         Debug.LogException(e);
     }
     return(0);
 }
コード例 #22
0
 public static int LoadRawTextureData_wrap(long L)
 {
     try
     {
         long nThisPtr             = FCLibHelper.fc_get_inport_obj_ptr(L);
         UnityEngine.Texture2D obj = get_obj(nThisPtr);
         byte[] arg0 = null;
         arg0 = FCCustomParam.GetArray(ref arg0, L, 0);
         obj.LoadRawTextureData(arg0);
     }
     catch (Exception e)
     {
         Debug.LogException(e);
     }
     return(0);
 }
コード例 #23
0
 public static int GetComponents_wrap(long L)
 {
     try
     {
         long        nThisPtr = FCLibHelper.fc_get_inport_obj_ptr(L);
         Component   obj      = get_obj(nThisPtr);
         System.Type arg0     = FCGetObj.GetObj <System.Type>(FCLibHelper.fc_get_intptr(L, 0));
         Component[] ret      = obj.GetComponents(arg0);
         FCCustomParam.ReturnArray(ret, L);
     }
     catch (Exception e)
     {
         Debug.LogException(e);
     }
     return(0);
 }
コード例 #24
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);
 }
コード例 #25
0
 public static int GetComponents1_wrap(long L)
 {
     try
     {
         long nThisPtr = FCLibHelper.fc_get_inport_obj_ptr(L);
         UnityEngine.Component        obj  = get_obj(nThisPtr);
         System.Type                  arg0 = FCGetObj.GetObj <System.Type>(FCLibHelper.fc_get_wrap_objptr(L, 0));
         List <UnityEngine.Component> arg1 = null;
         arg1 = FCCustomParam.GetList(ref arg1, L, 1);
         obj.GetComponents(arg0, arg1);
     }
     catch (Exception e)
     {
         Debug.LogException(e);
     }
     return(0);
 }
コード例 #26
0
 public static int GetComponentsInChildren_wrap(long L)
 {
     try
     {
         long nThisPtr = FCLibHelper.fc_get_inport_obj_ptr(L);
         UnityEngine.Component   obj  = get_obj(nThisPtr);
         System.Type             arg0 = FCGetObj.GetObj <System.Type>(FCLibHelper.fc_get_wrap_objptr(L, 0));
         UnityEngine.Component[] ret  = obj.GetComponentsInChildren(arg0);
         long ret_ptr = FCLibHelper.fc_get_return_ptr(L);
         FCCustomParam.ReturnArray(ret, ret_ptr);
     }
     catch (Exception e)
     {
         Debug.LogException(e);
     }
     return(0);
 }
コード例 #27
0
 public static int GetPixels32_wrap(long L)
 {
     try
     {
         long nThisPtr             = FCLibHelper.fc_get_inport_obj_ptr(L);
         UnityEngine.Texture2D obj = get_obj(nThisPtr);
         int       arg0            = FCLibHelper.fc_get_int(L, 0);
         Color32[] ret             = obj.GetPixels32(arg0);
         long      ret_ptr         = FCLibHelper.fc_get_return_ptr(L);
         FCCustomParam.ReturnArray(ret, ret_ptr);
     }
     catch (Exception e)
     {
         Debug.LogException(e);
     }
     return(0);
 }
コード例 #28
0
 public static int GetCommandBuffers_wrap(long L)
 {
     try
     {
         long  nThisPtr = FCLibHelper.fc_get_inport_obj_ptr(L);
         Light obj      = get_obj(nThisPtr);
         UnityEngine.Rendering.LightEvent arg0 = (UnityEngine.Rendering.LightEvent)(FCLibHelper.fc_get_int(L, 0));
         CommandBuffer[] ret     = obj.GetCommandBuffers(arg0);
         long            ret_ptr = FCLibHelper.fc_get_return_ptr(L);
         FCCustomParam.ReturnArray(ret, ret_ptr);
     }
     catch (Exception e)
     {
         Debug.LogException(e);
     }
     return(0);
 }
コード例 #29
0
 public static int GetComponentsInParent1_wrap(long L)
 {
     try
     {
         long        nThisPtr = FCLibHelper.fc_get_inport_obj_ptr(L);
         GameObject  obj      = get_obj(nThisPtr);
         System.Type arg0     = FCGetObj.GetObj <System.Type>(FCLibHelper.fc_get_intptr(L, 0));
         bool        arg1     = FCLibHelper.fc_get_bool(L, 1);
         Component[] ret      = obj.GetComponentsInParent(arg0, arg1);
         long        ret_ptr  = FCLibHelper.fc_get_return_ptr(L);
         FCCustomParam.ReturnArray(ret, ret_ptr);
     }
     catch (Exception e)
     {
         Debug.LogException(e);
     }
     return(0);
 }
コード例 #30
0
 public static int  obj_new3(long L)
 {
     try
     {
         string        arg0 = FCLibHelper.fc_get_string_a(L, 0);
         System.Type[] arg1 = null;
         arg1 = FCCustomParam.GetArray(ref arg1, L, 1);
         GameObject obj  = new GameObject(arg0, arg1);
         long       nPtr = FCGetObj.PushNewObj <GameObject>(obj);
         long       ret  = FCLibHelper.fc_get_return_ptr(L);
         FCLibHelper.fc_set_value_intptr(ret, nPtr);
     }
     catch (Exception e)
     {
         Debug.LogException(e);
     }
     return(0);
 }