示例#1
0
 /// <summary>
 /// 获取音频文件,(网格信息和动作)
 /// </summary>
 void FetchAllSounds()
 {
     if (allAudioDict == null)
     {
         allAudioDict = FetchAllResources <AudioDetails, AudioResource>(setting.Sound_FileTypes);
     }
     audioTree = new ResourceTree <AudioDetails>(this, allAudioDict, allAssetsPaths);
 }
示例#2
0
 /// <summary>
 /// 获取所有材质球
 /// </summary>
 void FetchAllMaterials()
 {
     if (allMatDict == null)
     {
         allMatDict = FetchAllResources <MaterialDetails, MaterialResource>(setting.Material_FileTypes);
     }
     materialTree = new ResourceTree <MaterialDetails>(this, allMatDict, allAssetsPaths);
 }
示例#3
0
 /// <summary>
 /// 获取模型文件,(网格信息和动作)
 /// </summary>
 void FetchAllModels()
 {
     if (allModelDict == null)
     {
         allModelDict = FetchAllResources <ModelDetails, ModelResource>(setting.Model_FileTypes);
     }
     modelTree = new ResourceTree <ModelDetails>(this, allModelDict, allAssetsPaths);
 }
示例#4
0
 /// <summary>
 /// 获取所有贴图
 /// </summary>
 void FetchAllTextures()
 {
     if (allTexDict == null)
     {
         allTexDict = FetchAllResources <TextureDetails, TextureResource>(setting.Texture_FileTypes);
     }
     textureTree = new ResourceTree <TextureDetails>(this, allTexDict, allAssetsPaths);
 }