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.
Afficher le fichier Open project: mr-kelly/KEngine Class Usage Examples

Private Properties

Свойство Type Description
ErrorNotSupport void

Méthodes publiques

Méthode 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

Méthode Description
ErrorNotSupport ( ) : void

Method Details

GetAssetBytes() public static méthode

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

GetAssetString() public static méthode

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

IsAssetExists() public static méthode

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