getAsset

fun getAsset(path: String): File

获取插件资源目录中的文件

Return

该路径对应的File对象

Since

Api 2

Parameters

path

相对于资源目录的文件路径