Example #1
0
 public static List <Component> GetList(ref List <Component> rList, long L, int nIndex)
 {
     try
     {
         if (rList == null)
         {
             rList = new List <Component>();
         }
         else
         {
             rList.Clear();
         }
         long ptr        = FCLibHelper.fc_get_param_ptr(L, nIndex);
         int  nArraySize = FCLibHelper.fc_get_array_size(ptr);
         for (int i = 0; i < nArraySize; ++i)
         {
             long      item_ptr = FCLibHelper.fc_get_array_node_temp_ptr(ptr, i);
             Component item     = FCGetObj.GetObj <Component>(item_ptr);
             rList.Add(item);
         }
     }
     catch (Exception e)
     {
         Debug.LogException(e);
     }
     return(rList);
 }
 public static int  obj_hash(long L)
 {
     UnityEngine.AsyncOperation obj = FCGetObj.GetObj <UnityEngine.AsyncOperation>(L);
     if (obj != null)
     {
         return(obj.GetHashCode());
     }
     return(0);
 }
 public static int  obj_hash(long nIntPtr)
 {
     UnityEngine.Animation obj = FCGetObj.GetObj <UnityEngine.Animation>(nIntPtr);
     if (obj != null)
     {
         return(obj.GetHashCode());
     }
     return(0);
 }
 public static int  obj_hash(long nIntPtr)
 {
     UnityEngine.MonoBehaviour obj = FCGetObj.GetObj <UnityEngine.MonoBehaviour>(nIntPtr);
     if (obj != null)
     {
         return(obj.GetHashCode());
     }
     return(0);
 }
 public static int  obj_hash(long L)
 {
     Button.ButtonClickedEvent obj = FCGetObj.GetObj <Button.ButtonClickedEvent>(L);
     if (obj != null)
     {
         return(obj.GetHashCode());
     }
     return(0);
 }
 public static int  obj_hash(long nIntPtr)
 {
     UnityEngine.MeshRenderer obj = FCGetObj.GetObj <UnityEngine.MeshRenderer>(nIntPtr);
     if (obj != null)
     {
         return(obj.GetHashCode());
     }
     return(0);
 }
 public static int  obj_hash(long nIntPtr)
 {
     UnityEngine.UI.Button.ButtonClickedEvent obj = FCGetObj.GetObj <UnityEngine.UI.Button.ButtonClickedEvent>(nIntPtr);
     if (obj != null)
     {
         return(obj.GetHashCode());
     }
     return(0);
 }
Example #8
0
 public static int  obj_hash(long L)
 {
     UnityEngine.Component obj = FCGetObj.GetObj <UnityEngine.Component>(L);
     if (obj != null)
     {
         return(obj.GetHashCode());
     }
     return(0);
 }
Example #9
0
 public static int  obj_hash(long L)
 {
     UnityEngine.SceneManagement.SceneManager obj = FCGetObj.GetObj <UnityEngine.SceneManagement.SceneManager>(L);
     if (obj != null)
     {
         return(obj.GetHashCode());
     }
     return(0);
 }
 public static int  obj_hash(long L)
 {
     UnityEngine.SkinnedMeshRenderer obj = FCGetObj.GetObj <UnityEngine.SkinnedMeshRenderer>(L);
     if (obj != null)
     {
         return(obj.GetHashCode());
     }
     return(0);
 }
    public static int  obj_hash(long L)
    {
        MeshRenderer obj = FCGetObj.GetObj <MeshRenderer>(L);

        if (obj != null)
        {
            return(obj.GetHashCode());
        }
        return(0);
    }
Example #12
0
    public static int  obj_hash(long nIntPtr)
    {
        TestD obj = FCGetObj.GetObj <TestD>(nIntPtr);

        if (obj != null)
        {
            return(obj.GetHashCode());
        }
        return(0);
    }
Example #13
0
    public static int  obj_hash(long L)
    {
        Animation obj = FCGetObj.GetObj <Animation>(L);

        if (obj != null)
        {
            return(obj.GetHashCode());
        }
        return(0);
    }
Example #14
0
    public static int  obj_hash(long L)
    {
        Text obj = FCGetObj.GetObj <Text>(L);

        if (obj != null)
        {
            return(obj.GetHashCode());
        }
        return(0);
    }
Example #15
0
    public static int  obj_hash(long L)
    {
        Behaviour obj = FCGetObj.GetObj <Behaviour>(L);

        if (obj != null)
        {
            return(obj.GetHashCode());
        }
        return(0);
    }
Example #16
0
    public static int  obj_hash(long L)
    {
        UnityObject obj = FCGetObj.GetObj <UnityObject>(L);

        if (obj != null)
        {
            return(obj.GetHashCode());
        }
        return(0);
    }
Example #17
0
    public static int  obj_hash(long L)
    {
        UserClass obj = FCGetObj.GetObj <UserClass>(L);

        if (obj != null)
        {
            return(obj.GetHashCode());
        }
        return(0);
    }
 public static int DestroyObject1_wrap(long L)
 {
     try
     {
         UnityObject arg0 = FCGetObj.GetObj <UnityObject>(FCLibHelper.fc_get_wrap_objptr(L, 0));
         UnityObject.DestroyObject(arg0);
     }
     catch (Exception e)
     {
         Debug.LogException(e);
     }
     return(0);
 }
 public static bool  obj_equal(long L, long R)
 {
     UnityEngine.MonoBehaviour left  = FCGetObj.GetObj <UnityEngine.MonoBehaviour>(L);
     UnityEngine.MonoBehaviour right = FCGetObj.GetObj <UnityEngine.MonoBehaviour>(R);
     if (left != null)
     {
         return(left.Equals(right));
     }
     if (right != null)
     {
         return(right.Equals(left));
     }
     return(true);
 }
 public static bool  obj_equal(long L, long R)
 {
     UnityEngine.UI.Button.ButtonClickedEvent left  = FCGetObj.GetObj <UnityEngine.UI.Button.ButtonClickedEvent>(L);
     UnityEngine.UI.Button.ButtonClickedEvent right = FCGetObj.GetObj <UnityEngine.UI.Button.ButtonClickedEvent>(R);
     if (left != null)
     {
         return(left.Equals(right));
     }
     if (right != null)
     {
         return(right.Equals(left));
     }
     return(true);
 }
 public static bool  obj_equal(long L, long R)
 {
     UnityEngine.SkinnedMeshRenderer left  = FCGetObj.GetObj <UnityEngine.SkinnedMeshRenderer>(L);
     UnityEngine.SkinnedMeshRenderer right = FCGetObj.GetObj <UnityEngine.SkinnedMeshRenderer>(R);
     if (left != null)
     {
         return(left.Equals(right));
     }
     if (right != null)
     {
         return(right.Equals(left));
     }
     return(true);
 }
 public static int DestroyImmediate_wrap(long L)
 {
     try
     {
         UnityObject arg0 = FCGetObj.GetObj <UnityObject>(FCLibHelper.fc_get_wrap_objptr(L, 0));
         bool        arg1 = FCLibHelper.fc_get_bool(L, 1);
         UnityObject.DestroyImmediate(arg0, arg1);
     }
     catch (Exception e)
     {
         Debug.LogException(e);
     }
     return(0);
 }
Example #23
0
 public static int MoveGameObjectToScene_wrap(long L)
 {
     try
     {
         UnityEngine.GameObject            arg0 = FCGetObj.GetObj <UnityEngine.GameObject>(FCLibHelper.fc_get_wrap_objptr(L, 0));
         UnityEngine.SceneManagement.Scene arg1 = FCGetObj.GetObj <UnityEngine.SceneManagement.Scene>(FCLibHelper.fc_get_wrap_objptr(L, 1));
         UnityEngine.SceneManagement.SceneManager.MoveGameObjectToScene(arg0, arg1);
     }
     catch (Exception e)
     {
         Debug.LogException(e);
     }
     return(0);
 }
 public static int Destroy_wrap(long L)
 {
     try
     {
         UnityObject arg0 = FCGetObj.GetObj <UnityObject>(FCLibHelper.fc_get_intptr(L, 0));
         float       arg1 = FCLibHelper.fc_get_float(L, 1);
         UnityObject.Destroy(arg0, arg1);
     }
     catch (Exception e)
     {
         Debug.LogException(e);
     }
     return(0);
 }
Example #25
0
 public static bool  obj_equal(long L, long R)
 {
     UnityEngine.SceneManagement.SceneManager left  = FCGetObj.GetObj <UnityEngine.SceneManagement.SceneManager>(L);
     UnityEngine.SceneManagement.SceneManager right = FCGetObj.GetObj <UnityEngine.SceneManagement.SceneManager>(R);
     if (left != null)
     {
         return(left.Equals(right));
     }
     if (right != null)
     {
         return(right.Equals(left));
     }
     return(true);
 }
 public static bool  obj_equal(long L, long R)
 {
     UnityEngine.Animation left  = FCGetObj.GetObj <UnityEngine.Animation>(L);
     UnityEngine.Animation right = FCGetObj.GetObj <UnityEngine.Animation>(R);
     if (left != null)
     {
         return(left.Equals(right));
     }
     if (right != null)
     {
         return(right.Equals(left));
     }
     return(true);
 }
 public static int set_clip_wrap(long L)
 {
     try
     {
         long nThisPtr = FCLibHelper.fc_get_inport_obj_ptr(L);
         UnityEngine.Animation     ret  = get_obj(nThisPtr);
         UnityEngine.AnimationClip arg0 = FCGetObj.GetObj <UnityEngine.AnimationClip>(FCLibHelper.fc_get_wrap_objptr(L, 0));
         ret.clip = arg0;
     }
     catch (Exception e)
     {
         Debug.LogException(e);
     }
     return(0);
 }
Example #28
0
    public static bool  obj_equal(long L, long R)
    {
        Text left  = FCGetObj.GetObj <Text>(L);
        Text right = FCGetObj.GetObj <Text>(R);

        if (left != null)
        {
            return(left.Equals(right));
        }
        if (right != null)
        {
            return(right.Equals(left));
        }
        return(true);
    }
 public static int set_cookie_wrap(long L)
 {
     try
     {
         long  nThisPtr           = FCLibHelper.fc_get_inport_obj_ptr(L);
         Light ret                = get_obj(nThisPtr);
         UnityEngine.Texture arg0 = FCGetObj.GetObj <UnityEngine.Texture>(FCLibHelper.fc_get_intptr(L, 0));
         ret.cookie = arg0;
     }
     catch (Exception e)
     {
         Debug.LogException(e);
     }
     return(0);
 }
Example #30
0
 public static int set_font_wrap(long L)
 {
     try
     {
         long             nThisPtr = FCLibHelper.fc_get_inport_obj_ptr(L);
         Text             ret      = get_obj(nThisPtr);
         UnityEngine.Font arg0     = FCGetObj.GetObj <UnityEngine.Font>(FCLibHelper.fc_get_intptr(L, 0));
         ret.font = arg0;
     }
     catch (Exception e)
     {
         Debug.LogException(e);
     }
     return(0);
 }