调整部分数据表配置,优化 SpriteCache 功能
This commit is contained in:
@@ -65,9 +65,12 @@ namespace SepCore.CustomUtility
|
||||
return Utility.Text.Format("Assets/GameMain/UI/UISounds/{0}.wav", assetName);
|
||||
}
|
||||
|
||||
public static string GetUITextureIconAsset(string assetName)
|
||||
/// <summary>
|
||||
/// 获取图片资源路径,assetName 为相对 Assets/GameMain/Textures 的路径,需包含扩展名
|
||||
/// </summary>
|
||||
public static string GetSpriteAsset(string assetName)
|
||||
{
|
||||
return Utility.Text.Format("Assets/GameMain/UI/UISprites/Icons/{0}.png", assetName);
|
||||
return Utility.Text.Format("Assets/GameMain/Textures/{0}", assetName);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user