public void Refresh() { if (m_Owner.IsDead) { return; } EffectBase effect = GameEntry.Entity.GetEntity(m_EntityId)?.Logic as EffectBase; effect?.Reset(); m_StartTimer = Time.realtimeSinceStartup; }
public void Exit() { float size = Data.ChangeModelScale; if (size > 0) { m_Owner.CachedTransform.DOScale(size, 1); } EffectBase effect = GameEntry.Entity.GetEntity(m_EntityId)?.Logic as EffectBase; effect?.Clear(); }