Ejemplo n.º 1
0
        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;
        }
Ejemplo n.º 2
0
        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();
        }
Ejemplo n.º 3
0
 public void Dispose()
 {
     m_lineMesh.Dispose();
     m_triangleMesh.Dispose();
     m_effect.Effect.Dispose();
 }