Beispiel #1
0
 private void UpdateActorRootSlot()
 {
     for (int i = 0; i < this.slotList.get_Count(); i++)
     {
         ActorRootSlot actorRootSlot = (ActorRootSlot)this.slotList.get_Item(i);
         actorRootSlot.Update(this);
     }
 }
Beispiel #2
0
        public ActorRootSlot CreateActorRootSlot(PoolObjHandle <ActorRoot> _child, VInt3 _parentPos, VInt3 _trans)
        {
            ActorRootSlot actorRootSlot = new ActorRootSlot(_child, _parentPos, _trans);

            this.slotList.Add(actorRootSlot);
            this.bChildUpdate = true;
            return(actorRootSlot);
        }
Beispiel #3
0
        public ActorRootSlot CreateActorRootSlot(PoolObjHandle <ActorRoot> _child, VInt3 _trans)
        {
            ActorRootSlot item = new ActorRootSlot(_child, _trans);

            this.slotList.Add(item);
            this.bChildUpdate = true;
            return(item);
        }
 public void UpdateLerpActorRootSlot()
 {
     for (int i = 0; i < this.slotList.get_Count(); i++)
     {
         ActorRootSlot actorRootSlot = (ActorRootSlot)this.slotList.get_Item(i);
         actorRootSlot.UpdateLerp(this);
     }
 }
        public ActorRootSlot CreateActorRootSlot(PoolObjHandle <ActorRoot> _child, VInt3 _parentPos, VInt3 _trans, bool _bUpdateWithParentLerpPosition = false)
        {
            ActorRootSlot actorRootSlot = new ActorRootSlot(_child, _parentPos, _trans, _bUpdateWithParentLerpPosition);

            this.slotList.Add(actorRootSlot);
            this.bChildUpdate = true;
            return(actorRootSlot);
        }
Beispiel #6
0
 private void UpdateActorRootSlot()
 {
     for (int i = 0; i < this.slotList.Count; i++)
     {
         ActorRootSlot actorRootSlot = (ActorRootSlot)this.slotList[i];
         actorRootSlot.Update(this);
     }
 }
Beispiel #7
0
        public bool RemoveActorRootSlot(ActorRootSlot _slot)
        {
            bool result = this.slotList.Remove(_slot);

            if (this.slotList.get_Count() == 0)
            {
                this.bChildUpdate = false;
            }
            return(result);
        }
Beispiel #8
0
        public bool RemoveActorRootSlot(ActorRootSlot _slot)
        {
            bool flag = this.slotList.Remove(_slot);

            if (this.slotList.Count == 0)
            {
                this.bChildUpdate = false;
            }
            return(flag);
        }