C# Class QFramework.LuaMain

Afficher le fichier Open project: liangxiegame/QFramework Class Usage Examples

Méthodes publiques

Свойство Type Description
DefaultSceneName string
NextSceneName string
loadBundles string[]
nextClearBundles bool

Protected Properties

Свойство Type Description
mDictFunc LuaFunction>.Dictionary

Méthodes publiques

Méthode Description
AddClick ( GameObject go, LuaFunction luafunc ) : void
AddEditorSearchPath ( string path ) : void
AddLuaComponent ( GameObject go, string path ) : QLuaComponent
Destroy ( ) : void
Dispose ( ) : void
GetLuaComponent ( GameObject go, string LuaClassName ) : QLuaComponent
LoadBundlesThenToScene ( string Scenename, bool needclear ) : void
LoadBundlesThenToSceneDefault ( bool needclear ) : void
RemoveClick ( GameObject go ) : void
addLuaFile ( ) : LuaTable
getInstance ( ) : LuaMain

Private Methods

Méthode Description
addFunc ( string funcName ) : bool
init ( ) : void

Method Details

AddClick() public static méthode

public static AddClick ( GameObject go, LuaFunction luafunc ) : void
go UnityEngine.GameObject
luafunc LuaInterface.LuaFunction
Résultat void

AddEditorSearchPath() public static méthode

public static AddEditorSearchPath ( string path ) : void
path string
Résultat void

AddLuaComponent() public static méthode

public static AddLuaComponent ( GameObject go, string path ) : QLuaComponent
go UnityEngine.GameObject
path string
Résultat QLuaComponent

Destroy() public méthode

public Destroy ( ) : void
Résultat void

Dispose() public static méthode

public static Dispose ( ) : void
Résultat void

GetLuaComponent() public static méthode

public static GetLuaComponent ( GameObject go, string LuaClassName ) : QLuaComponent
go UnityEngine.GameObject
LuaClassName string
Résultat QLuaComponent

LoadBundlesThenToScene() public static méthode

public static LoadBundlesThenToScene ( string Scenename, bool needclear ) : void
Scenename string
needclear bool
Résultat void

LoadBundlesThenToSceneDefault() public static méthode

public static LoadBundlesThenToSceneDefault ( bool needclear ) : void
needclear bool
Résultat void

RemoveClick() public static méthode

public static RemoveClick ( GameObject go ) : void
go GameObject
Résultat void

addLuaFile() public méthode

public addLuaFile ( ) : LuaTable
Résultat LuaTable

getInstance() public static méthode

public static getInstance ( ) : LuaMain
Résultat LuaMain

Property Details

DefaultSceneName public_oe static_oe property

public static string DefaultSceneName
Résultat string

NextSceneName public_oe static_oe property

public static string NextSceneName
Résultat string

loadBundles public_oe static_oe property

public static string[] loadBundles
Résultat string[]

mDictFunc protected_oe property

protected Dictionary mDictFunc
Résultat LuaFunction>.Dictionary

nextClearBundles public_oe static_oe property

public static bool nextClearBundles
Résultat bool