跳到主要内容
版本:2.3.x

Class RawFileHandle

Assembly: YooAsset.dll
Declaration
public class RawFileHandle : HandleBase, IEnumerator, IDisposable

Methods

WaitForAsyncComplete()

等待异步执行完毕

Declaration
public void WaitForAsyncComplete()

GetRawFileData()

获取原生文件的二进制数据

Declaration
public byte[] GetRawFileData()
Returns

System.Byte[]

GetRawFileText()

获取原生文件的文本数据

Declaration
public string GetRawFileText()
Returns

System.String

GetRawFilePath()

获取原生文件的路径

Declaration
public string GetRawFilePath()
Returns

System.String

Events

Completed

完成委托

Declaration
public event Action<RawFileHandle> Completed
Event Type

System.Action<YooAsset.RawFileHandle>

Implements

  • System.Collections.IEnumerator
  • System.IDisposable