示例#1
0
        // Token: 0x06000429 RID: 1065 RVA: 0x00023F80 File Offset: 0x00022180
        public void RemoveTarget(int matNo)
        {
            AnimItem target = this.GetTarget(matNo);

            if (target != null)
            {
                target.Deactivate();
                this.targets.Remove(target);
            }
        }
示例#2
0
 // Token: 0x06000426 RID: 1062 RVA: 0x00023E60 File Offset: 0x00022060
 private bool ParseMaterial(Material mate, int matNo)
 {
     AnimTex[] array = ParseAnimUtil.ParseAnimTex(mate);
     if (array != null)
     {
         AnimItem target = this.GetTarget(matNo);
         if (target != null)
         {
             target.UpdateTexes(mate, array);
         }
         else
         {
             this.targets.Add(new AnimItem(mate, matNo, array));
         }
         return(true);
     }
     return(false);
 }