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