C# Class Hugula.PLua

Inheritance: UnityEngine.MonoBehaviour
Afficher le fichier Open project: tenvick/hugula Class Usage Examples

Méthodes publiques

Свойство Type Description
enterLua string
lua LuaInterface.Lua
onAppFocusFn LuaFunction
onAppPauseFn LuaFunction
onAppQuitFn LuaFunction
onDestroyFn LuaFunction

Private Properties

Свойство Type Description
Awake void
DecryptLuaBundle IEnumerator
DelayDo IEnumerator
DoMain void
LoadBundle void
LoadLuaBytes byte[]
LoadScript void
Loader byte[]
OnApplicationFocus void
OnApplicationPause void
OnApplicationQuit void
OnDestroy void
ReOpen IEnumerator
RegisterFunc void
SetLuaPath void
Start void
Update void

Méthodes publiques

Méthode Description
Delay ( LuaFunction luafun, float time ) : Coroutine
LoadBundle ( LuaFunction onLoadedFn ) : void

load assetbundle

ReStart ( float sconds ) : void

ReStart.

RemoveAllEvents ( ) : void

Removes all events.

SetRequire ( string key, TextAsset textAsset ) : void

ÉèÖÃrequire

StopAllDelay ( ) : void
StopDelay ( Coroutine coroutine ) : void

Private Methods

Méthode Description
Awake ( ) : void
DecryptLuaBundle ( string luaPath, bool isStreaming, LuaFunction onLoadedFn ) : IEnumerator

lua bundle

DelayDo ( LuaFunction luafun, float time ) : IEnumerator
DoMain ( ) : void

lua begin

LoadBundle ( ) : void

load assetbundle

LoadLuaBytes ( string name ) : byte[]

´ÓabÖÐload bytes

LoadScript ( ) : void
Loader ( string name ) : byte[]

loader

OnApplicationFocus ( bool focusStatus ) : void
OnApplicationPause ( bool pauseStatus ) : void
OnApplicationQuit ( ) : void
OnDestroy ( ) : void
ReOpen ( float seconds ) : IEnumerator

RegisterFunc ( ) : void
SetLuaPath ( ) : void
Start ( ) : void
Update ( ) : void

Method Details

Delay() public static méthode

public static Delay ( LuaFunction luafun, float time ) : Coroutine
luafun LuaFunction
time float
Résultat UnityEngine.Coroutine

LoadBundle() public méthode

load assetbundle
public LoadBundle ( LuaFunction onLoadedFn ) : void
onLoadedFn LuaFunction
Résultat void

ReStart() public méthode

ReStart.
public ReStart ( float sconds ) : void
sconds float Sconds.
Résultat void

RemoveAllEvents() public méthode

Removes all events.
public RemoveAllEvents ( ) : void
Résultat void

SetRequire() public méthode

ÉèÖÃrequire
public SetRequire ( string key, TextAsset textAsset ) : void
key string
textAsset UnityEngine.TextAsset
Résultat void

StopAllDelay() public static méthode

public static StopAllDelay ( ) : void
Résultat void

StopDelay() public static méthode

public static StopDelay ( Coroutine coroutine ) : void
coroutine UnityEngine.Coroutine
Résultat void

Property Details

enterLua public_oe static_oe property

public static string enterLua
Résultat string

lua public_oe property

public Lua,LuaInterface lua
Résultat LuaInterface.Lua

onAppFocusFn public_oe property

public LuaFunction onAppFocusFn
Résultat LuaFunction

onAppPauseFn public_oe property

public LuaFunction onAppPauseFn
Résultat LuaFunction

onAppQuitFn public_oe property

public LuaFunction onAppQuitFn
Résultat LuaFunction

onDestroyFn public_oe property

public LuaFunction onDestroyFn
Résultat LuaFunction