C# Class Schumix.Components.LuaEngine.LuaEngine

Class used to load Lua script files. This script engine is an optional one and can be disabled by commenting a single line of code.
Mostra file Open project: Schumix/Schumix2 Class Usage Examples

Public Methods

Method Description
Free ( ) : void

Frees up resources.

LoadScripts ( bool reload = false ) : void

Loads the Lua scripts.

LuaEngine ( string scriptsPath ) : System

Creates a new instance of LuaEngine

Method Details

Free() public method

Frees up resources.
public Free ( ) : void
return void

LoadScripts() public method

Loads the Lua scripts.
public LoadScripts ( bool reload = false ) : void
reload bool Is it a reload or not.
return void

LuaEngine() public method

Creates a new instance of LuaEngine
public LuaEngine ( string scriptsPath ) : System
scriptsPath string The directory where the Lua scripts are located.
return System