Axiom.Samples.BSPSample.LoadResources C# (CSharp) Метод

LoadResources() защищенный Метод

protected LoadResources ( ) : void
Результат void
		protected override void LoadResources()
		{
			/* NOTE: The browser initializes everything at the beginning already, so we use a 0 init proportion.
			If you're not compiling this sample for use with the browser, then leave the init proportion at 0.7. */
			TrayManager.ShowLoadingBar( 1, 1, 0 );
			// associate the world geometry with the world resource group, and then load the group
			//ResourceGroupManager.Instance.LinkWorldGeometryToResourceGroup( "BSPSAMPLE", "maps/chiropteradm.bsp", SceneManager );
			ResourceGroupManager.Instance.LinkWorldGeometryToResourceGroup( "BSPSAMPLE", "maps/chiropteradm.bsp", SceneManager );
			ResourceGroupManager.Instance.InitializeResourceGroup( "BSPSAMPLE" );
			ResourceGroupManager.Instance.LoadResourceGroup( "BSPSAMPLE", false, true );

			TrayManager.HideLoadingBar();

		}