protected override void OnTick() { if (Core.TickCount > m_End) { m_Item.Delete(); return; } if (m_Item.Deleted) { return; } if (!m_Item.Visible) { m_Item.Visible = true; m_Item.ProcessDelta(); return; } m_Item.m_OnTick?.Invoke(m_Item); }
protected override void OnTick() { if (Core.TickCount > m_End) { m_Item.Delete(); return; } if (m_Item.Deleted) { return; } if (!m_Item.Visible) { m_Item.Visible = true; m_Item.ProcessDelta(); return; } m_Item.m_OnTick?.Invoke(m_Item); }