public override void Dead() { Engine.IRenderSystem rs = Engine.RareEngine.Instance().GetRenderSystem(); if (rs == null) { return; } Engine.IEffect effect = rs.GetEffect(m_uEffectID); if (effect != null) { rs.RemoveEffect(effect); } }
IEffect GetEffectByID(uint id) { Engine.IRenderSystem rs = Engine.RareEngine.Instance().GetRenderSystem(); if (rs == null) { return(null); } Engine.IEffect effect = rs.GetEffect(id); if (effect != null) { return(effect); } return(null); }