public static bool obj_equal(long L, long R) { UnityEngine.Renderer left = FCGetObj.GetObj <UnityEngine.Renderer>(L); UnityEngine.Renderer right = FCGetObj.GetObj <UnityEngine.Renderer>(R); if (left != null) { return(left.Equals(right)); } if (right != null) { return(right.Equals(left)); } return(true); }