コード例 #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 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);
 }
コード例 #4
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);
 }
コード例 #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 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);
 }
コード例 #8
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);
 }
コード例 #9
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);
 }
コード例 #10
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);
 }
コード例 #11
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);
 }
コード例 #12
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);
 }
コード例 #13
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);
 }
コード例 #14
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);
 }
コード例 #15
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);
 }
コード例 #16
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);
 }
コード例 #17
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);
 }
コード例 #18
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);
 }
コード例 #19
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);
 }
コード例 #20
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);
 }
コード例 #21
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);
 }
コード例 #22
0
 public static int PackTextures2_wrap(long L)
 {
     try
     {
         long      nThisPtr           = FCLibHelper.fc_get_inport_obj_ptr(L);
         Texture2D obj                = get_obj(nThisPtr);
         UnityEngine.Texture2D[] arg0 = null;
         arg0 = FCCustomParam.GetArray(ref arg0, L, 0);
         int    arg1 = FCLibHelper.fc_get_int(L, 1);
         Rect[] ret  = obj.PackTextures(arg0, arg1);
         FCCustomParam.ReturnArray(ret, L);
     }
     catch (Exception e)
     {
         Debug.LogException(e);
     }
     return(0);
 }
コード例 #23
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);
 }
コード例 #24
0
 public static int GetPixels3_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);
         int       arg1     = FCLibHelper.fc_get_int(L, 1);
         int       arg2     = FCLibHelper.fc_get_int(L, 2);
         int       arg3     = FCLibHelper.fc_get_int(L, 3);
         Color[]   ret      = obj.GetPixels(arg0, arg1, arg2, arg3);
         FCCustomParam.ReturnArray(ret, L);
     }
     catch (Exception e)
     {
         Debug.LogException(e);
     }
     return(0);
 }
コード例 #25
0
 public static int GetPixels2_wrap(long L)
 {
     try
     {
         long VM                   = FCLibHelper.fc_get_vm_ptr(L);
         long nThisPtr             = FCLibHelper.fc_get_inport_obj_ptr(L);
         UnityEngine.Texture2D obj = get_obj(nThisPtr);
         int     arg0              = FCLibHelper.fc_get_int(L, 0);
         int     arg1              = FCLibHelper.fc_get_int(L, 1);
         int     arg2              = FCLibHelper.fc_get_int(L, 2);
         int     arg3              = FCLibHelper.fc_get_int(L, 3);
         int     arg4              = FCLibHelper.fc_get_int(L, 4);
         Color[] ret               = obj.GetPixels(arg0, arg1, arg2, arg3, arg4);
         long    ret_ptr           = FCLibHelper.fc_get_return_ptr(L);
         FCCustomParam.ReturnArray(VM, ret, ret_ptr);
     }
     catch (Exception e)
     {
         Debug.LogException(e);
     }
     return(0);
 }