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