Esempio n. 1
0
 public static void SampleAnimationClip(GameObject gameObject, AnimationClip clip, float time)
 {
     if (!AnimationMode.InAnimationMode())
     {
         throw new InvalidOperationException("AnimationMode.SampleAnimationClip may only be called in animation mode.  See AnimationMode.StartAnimationMode.");
     }
     AnimationMode.Internal_SampleAnimationClip(gameObject, clip, time);
 }