Ejemplo n.º 1
0
        public override void LateUpdate(int nDelta)
        {
            SkillSlot slot = null;

            for (int i = 0; i < 8; i++)
            {
                slot = this.SkillSlotArray[i];
                if (slot != null)
                {
                    slot.LateUpdate(nDelta);
                }
            }
        }
 public override void LateUpdate(int nDelta)
 {
     if ((this.actorPtr.handle.TheActorMeta.ActorType == ActorTypeDef.Actor_Type_Hero || this.actorPtr.handle.TheActorMeta.ActorType == ActorTypeDef.Actor_Type_Call) && ActorHelper.IsHostCtrlActor(ref this.actorPtr))
     {
         for (int i = 0; i < 10; i++)
         {
             SkillSlot skillSlot = this.SkillSlotArray[i];
             if (skillSlot != null)
             {
                 skillSlot.LateUpdate(nDelta);
             }
         }
     }
 }