C# Class KEngine.KEngineAndroidPlugin

KEngine's Android Plugins is a jar. Load sync from android asset folder. Unity3D's WWW class can only load async from asset folder, disgusting.
Mostra file Open project: mr-kelly/KEngine Class Usage Examples

Private Properties

Property Type Description
ErrorNotSupport void

Public Methods

Method Description
GetAssetBytes ( string path ) : byte[]

Call from java get asset file bytes

GetAssetString ( string path ) : string

Call from java get asset file bytes and convert to string

IsAssetExists ( string path ) : bool

Check if path exist in asset folder?

Private Methods

Method Description
ErrorNotSupport ( ) : void

Method Details

GetAssetBytes() public static method

Call from java get asset file bytes
public static GetAssetBytes ( string path ) : byte[]
path string
return byte[]

GetAssetString() public static method

Call from java get asset file bytes and convert to string
public static GetAssetString ( string path ) : string
path string
return string

IsAssetExists() public static method

Check if path exist in asset folder?
public static IsAssetExists ( string path ) : bool
path string
return bool