C# Class QFramework.LuaMain

ファイルを表示 Open project: liangxiegame/QFramework Class Usage Examples

Public Properties

Property Type Description
DefaultSceneName string
NextSceneName string
loadBundles string[]
nextClearBundles bool

Protected Properties

Property Type Description
mDictFunc LuaFunction>.Dictionary

Public Methods

Method 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

Method Description
addFunc ( string funcName ) : bool
init ( ) : void

Method Details

AddClick() public static method

public static AddClick ( GameObject go, LuaFunction luafunc ) : void
go UnityEngine.GameObject
luafunc LuaInterface.LuaFunction
return void

AddEditorSearchPath() public static method

public static AddEditorSearchPath ( string path ) : void
path string
return void

AddLuaComponent() public static method

public static AddLuaComponent ( GameObject go, string path ) : QLuaComponent
go UnityEngine.GameObject
path string
return QLuaComponent

Destroy() public method

public Destroy ( ) : void
return void

Dispose() public static method

public static Dispose ( ) : void
return void

GetLuaComponent() public static method

public static GetLuaComponent ( GameObject go, string LuaClassName ) : QLuaComponent
go UnityEngine.GameObject
LuaClassName string
return QLuaComponent

LoadBundlesThenToScene() public static method

public static LoadBundlesThenToScene ( string Scenename, bool needclear ) : void
Scenename string
needclear bool
return void

LoadBundlesThenToSceneDefault() public static method

public static LoadBundlesThenToSceneDefault ( bool needclear ) : void
needclear bool
return void

RemoveClick() public static method

public static RemoveClick ( GameObject go ) : void
go GameObject
return void

addLuaFile() public method

public addLuaFile ( ) : LuaTable
return LuaTable

getInstance() public static method

public static getInstance ( ) : LuaMain
return LuaMain

Property Details

DefaultSceneName public_oe static_oe property

public static string DefaultSceneName
return string

NextSceneName public_oe static_oe property

public static string NextSceneName
return string

loadBundles public_oe static_oe property

public static string[] loadBundles
return string[]

mDictFunc protected_oe property

protected Dictionary mDictFunc
return LuaFunction>.Dictionary

nextClearBundles public_oe static_oe property

public static bool nextClearBundles
return bool