Beispiel #1
0
        public virtual void LoadContent(ContentManager content)
        {
            BaseScreenData = AssetManager.GetData <BaseScreenData>(DataAsset);
            Debug.Assert(BaseScreenData != null);

            if (!string.IsNullOrEmpty(BaseScreenData.TextureAsset))
            {
                AddBackground();

                Debug.Assert(Background != null);
                Background.LoadContent();
            }

            GameObjectManager.LoadContent();
            UIManager.LoadContent();
            InGameUIManager.LoadContent();
        }