Rename LoadRawFileAsync to GetRawFileAsync

LoadRawFileAsync 方法重新命名为GetRawFileAsync
This commit is contained in:
hevinci
2022-04-28 22:49:55 +08:00
parent 6070e619da
commit 62f1c050ca
2 changed files with 5 additions and 5 deletions
@@ -29,7 +29,7 @@ namespace YooAsset
/// <summary>
/// 获取原生文件的二进制数据
/// </summary>
public byte[] GetFileData()
public byte[] LoadFileData()
{
string filePath = GetCachePath();
if (File.Exists(filePath) == false)
@@ -40,7 +40,7 @@ namespace YooAsset
/// <summary>
/// 获取原生文件的文本数据
/// </summary>
public string GetFileText()
public string LoadFileText()
{
string filePath = GetCachePath();
if (File.Exists(filePath) == false)