internal static void InitializePropertyModificationForGameObject(GameObject gameObject, AnimationClip clip) { if (!AnimationMode.InAnimationMode()) { throw new InvalidOperationException("AnimationMode.InitializePropertyModificationForGameObject may only be called in animation mode. See AnimationMode.StartAnimationMode."); } AnimationMode.Internal_InitializePropertyModificationForGameObject(gameObject, clip); }