internal static void RevertPropertyModificationsForObject(UnityEngine.Object target) { if (!AnimationMode.InAnimationMode()) { throw new InvalidOperationException("AnimationMode.RevertPropertyModificationsForObject may only be called in animation mode. See AnimationMode.StartAnimationMode."); } AnimationMode.Internal_RevertPropertyModificationsForObject(target); }