Dictionary _clips = new Dictionary();
Animation _ani = prefabObj.GetComponent();
foreach (AnimationState _state in _ani)
{
_clips.Add(_state.name, _ani.GetClip(_state.name));
DebugX.Log(_state.name);
}
Dictionary _clips = new Dictionary();
Animation _ani = prefabObj.GetComponent();
foreach (AnimationState _state in _ani)
{
_clips.Add(_state.name, _ani.GetClip(_state.name));
DebugX.Log(_state.name);
}