3 protected ref array<SCR_BaseEffectManagerComponent> m_Components = {};
6 protected override void OnUpdate(ESystemPoint point)
8 float timeSlice = GetWorld().GetFixedTimeSlice();
12 comp.UpdateModules(timeSlice);
17 override void OnDiag(
float timeSlice)
19 DbgUI.Begin(
"EffectManagerSystem");
21 DbgUI.Text(
"Components: " + m_Components.Count());
23 if (DbgUI.Button(
"Dump active components"))
27 Print(comp.GetOwner(), LogLevel.ERROR);
39 if (component.GetOwner().IsDeleted() || (component.GetOwner().GetFlags() & EntityFlags.USER5))
42 if (m_Components.Find(component) != -1)
45 m_Components.Insert(component);
51 int idx = m_Components.Find(component);
55 m_Components.Remove(idx);