Exemple #1
0
        protected override void OnDispose()
        {
            UltimaServices.Unregister <LoginModel>(this);

            Client.Dispose();
            Client = null;

            m_UserInterface.Reset();
            m_SceneManager.CurrentState = null;
            m_SceneManager = null;
        }
        protected override void OnDispose()
        {
            UltimaServices.Unregister <WorldModel>(this);

            EntityManager.Reset();
            Entities = null;

            Effects = null;

            Input.Dispose();
            Input = null;

            Interaction = null;

            Client.Dispose();
            Client = null;
        }