Пример #1
0
        private static async Task LoadScene()
        {
            var sceneManager = Instantiate(Resources.Load <GameObject>("SceneObjects/SceneManager"));

            sceneManager.AddComponent <InputHandler>();
            CatalogueBuilder.Build();
            ObjectDetailPanel.Build();
            await SceneObjectBuilder.BuildScene();

            Instantiate(Resources.Load <GameObject>("SceneObjects/Main Camera"));
        }
Пример #2
0
        public static void PackageCatalogue(ClientContext context)
        {
            var cbuild = new CatalogueBuilder(context);

            cbuild.Build();
        }