Пример #1
0
        /**
         * @brief release the scene
         * */
        public void Unload()
        {
            // release all dynamic list
            //_colliderList.ReleaseAll();
            _renderList.ReleaseAll();
            // TODO: release shadow system
            _gameObjectList.ReleaseAll();

            if (Mgr <GameEngine> .Singleton._gameEngineMode ==
                GameEngine.GameEngineMode.MapEditor)
            {
                _selectableList.ReleaseAll();
            }
        }
Пример #2
0
 public void ReleaseAll()
 {
     m_drawables.ReleaseAll();
 }