public override void End() { m_lineMesh.Reset(); m_lineMesh.Dispose(); m_triangleMesh.Reset(); m_triangleMesh.Dispose(); this.Enabled = false; m_chargeTimerMS.Stop(); m_chargeTimerMS.OnTime -= m_chargeTimerMS_OnTime; }
public override void End() { base.End(); StopCharge(); m_chargeTimerMS.Stop(); m_maxChargeTimerMS.Stop(); m_chargeTimerMS.OnTime -= m_chargeTimerMS_OnTime; m_maxChargeTimerMS.OnTime -= m_maxChargeTimerMS_OnTime; m_triangleMesh.Dispose(); m_lineMesh.Dispose(); }
public void Dispose() { m_lineMesh.Dispose(); m_triangleMesh.Dispose(); m_effect.Effect.Dispose(); }