public void Update(float deltaTime = 0f) { for (int i = 0; i < this.followEffectList.Count; i++) { MiniMapEffectModule.Element element = this.followEffectList[i]; element.Update(deltaTime); } }
public void Clear() { for (int i = 0; i < this.followEffectList.Count; i++) { MiniMapEffectModule.Element element = this.followEffectList[i]; element.Clear(); } this.followEffectList.Clear(); }
public void StopFollowActorEffect(uint PlayerId) { for (int i = 0; i < this.followEffectList.Count; i++) { MiniMapEffectModule.Element element = this.followEffectList[i]; if (element.m_signalRelatedActor && element.m_signalRelatedActor.handle.TheActorMeta.PlayerId == PlayerId) { element.Clear(); } } }
public void PlayFollowActorEffect(string eft, float time, PoolObjHandle <ActorRoot> relatedActor) { if (string.IsNullOrEmpty(eft) || !relatedActor) { return; } MiniMapEffectModule.Element followEffect = this.GetFollowEffect(eft, time, relatedActor); if (!this.followEffectList.Contains(followEffect)) { this.followEffectList.Add(followEffect); } }