Exemplo n.º 1
0
        protected override void OnDispose()
        {
            UltimaServices.Unregister <LoginModel>(this);

            Client.Dispose();
            Client = null;

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

            EntityManager.Reset();
            Entities = null;

            Effects = null;

            Input.Dispose();
            Input = null;

            Interaction = null;

            Client.Dispose();
            Client = null;
        }