http://docs.unity3d.com/Documentation/ScriptReference/Animation.html
http://docs.unity3d.com/Documentation/ScriptReference/Animation.Index_operator.html
→anim_nameはアニメーションの名前
→objは今回調べるアニメのついたGameObject
・宣言部分
private var hogeAnimState : AnimationState;
function Start() { hogeAnimState = obj.animation["anim_name"]; }
・計測部分
function Update() { Debug.Log(hogeAnimState.time); }