Class RawFileOperationHandle
Assembly: YooAsset.dll
View Source
Declaration
public class RawFileOperationHandle : OperationHandleBase, IEnumerator, IDisposable
Methods
WaitForAsyncComplete()
等待异步执行完毕
View Source
Declaration
public void WaitForAsyncComplete()
Release()
释放资源句柄
View Source
Declaration
public void Release()
Dispose()
释放资源句柄
View Source
Declaration
public void Dispose()
GetRawFileData()
获取原生文件的二进制数据
View Source
Declaration
public byte[] GetRawFileData()
Returns
System.Byte[]
GetRawFileText()
获取原生文件的文本数据
View Source
Declaration
public string GetRawFileText()
Returns
System.String
GetRawFilePath()
获取原生文件的路径
View Source
Declaration
public string GetRawFilePath()
Returns
System.String
Events
Completed
完成委托
View Source
Declaration
public event Action<RawFileOperationHandle> Completed
Event Type
System.Action<YooAsset.RawFileOperationHandle>
Implements
System.Collections.IEnumerator
System.IDisposable