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); }