URL: http://docs.unity3d.com/Documentation/ScriptReference/Animation.Sample.html
おそらく
using UnityEngine; using System.Collections; public class example : MonoBehaviour { void Example() { animation["MyClip"].time = 2.0F; animation["MyClip"].enabled = true; } }
このExample()メソッドを呼んだ瞬間では反映されない
using UnityEngine; using System.Collections; public class example : MonoBehaviour { void Example() { animation["MyClip"].time = 2.0F; animation["MyClip"].enabled = true; animation.Sample(); animation["MyClip"].enabled = false; } }
animation.Sample();以前の部分が反映されると思う