コード例 #1
0
 public static void AddAnimatorData(string name, AnimatorData animatorData)
 {
     if (ANIMATORS.ContainsKey(name))
     {
         throw new Exception("AnimatorData with name '" + name + "' already exists!");
     }
     ANIMATORS[name] = animatorData;
 }
コード例 #2
0
 public Animator(AnimatorData data)
 {
     this.data = data;
 }