public bool SetInputs(AnimationClip[] clips)
{
if (clips == null)
{
throw new NullReferenceException("Parameter clips was null. You need to pass in a valid array of clips.");
}
AnimationPlayable[] sources = new AnimationPlayable[clips.Length];
for (int i = 0; i < clips.Length; i++)
{
sources[i] = new AnimationClipPlayable(clips[i]);
}
return base.SetInputs(sources);
}
}