C# Класс 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.
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
ErrorNotSupport void

Открытые методы

Метод Описание
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?

Приватные методы

Метод Описание
ErrorNotSupport ( ) : void

Описание методов

GetAssetBytes() публичный статический Метод

Call from java get asset file bytes
public static GetAssetBytes ( string path ) : byte[]
path string
Результат byte[]

GetAssetString() публичный статический Метод

Call from java get asset file bytes and convert to string
public static GetAssetString ( string path ) : string
path string
Результат string

IsAssetExists() публичный статический Метод

Check if path exist in asset folder?
public static IsAssetExists ( string path ) : bool
path string
Результат bool