Equals() public méthode

public Equals ( object other ) : bool
other object
Résultat bool
 static int Equals(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         UnityEngine.SceneManagement.Scene obj = (UnityEngine.SceneManagement.Scene)ToLua.CheckObject(L, 1, typeof(UnityEngine.SceneManagement.Scene));
         object arg0 = ToLua.ToVarObject(L, 2);
         bool   o    = obj.Equals(arg0);
         LuaDLL.lua_pushboolean(L, o);
         ToLua.SetBack(L, 1, obj);
         return(1);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
 public static int Equals_wrap(long L)
 {
     try
     {
         long nThisPtr = FCLibHelper.fc_get_inport_obj_ptr(L);
         UnityEngine.SceneManagement.Scene obj = get_obj(nThisPtr);
         System.Object arg0    = FCGetObj.GetSystemObj(FCLibHelper.fc_get_param_ptr(L, 0));
         bool          ret     = obj.Equals(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);
 }
 public static bool  obj_equal(long L, long R)
 {
     UnityEngine.SceneManagement.Scene left  = FCGetObj.GetObj <UnityEngine.SceneManagement.Scene>(L);
     UnityEngine.SceneManagement.Scene right = FCGetObj.GetObj <UnityEngine.SceneManagement.Scene>(R);
     return(left.Equals(right));
 }