示例#1
0
 private void OnEnable()
 {
     //if(FightHeros != null)
     {
         for (int i = 0; i < FightHeros.Count; i++)
         {
             Enity fighthero = FightHeros[i].GetComponentInChildren <Enity>();
             if (fighthero != null)
             {
                 fighthero.UpdateHeroEquips();
             }
         }
     }
 }