SampleAnimationClip(GameObject, AnimationClip, float)
Samples the AnimationClip for the GameObject and also records modified properties when in Animation mode.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor
public static void SampleAnimationClip(GameObject gameObject, AnimationClip clip, float time)
Parameters
Remarks
If this method returns true, you can use AnimationMode.SampleAnimationClip to animate the attached object.
Note: The script example for AnimationMode demonstrates how to use AnimationMode.InAnimationMode.