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

Interface IBuiltinFileAccessor

Assembly: YooAsset.dll​
View Source​
Declaration
public interface IBuiltinFileAccessor

Methods​

FileExists(string)​

检查内置文件是否存在

View Source​
Declaration
bool FileExists(string filePath)
Returns​

System.Boolean

Parameters​
TypeNameDescription
System.StringfilePath内置文件路径

ReadAllBytes(string)​

读取内置文件的所有字节

View Source​
Declaration
byte[] ReadAllBytes(string filePath)
Returns​

System.Byte[]

Parameters​
TypeNameDescription
System.StringfilePath内置文件路径