- Where Developers Learn, Share, & Build Careers
By loading the square there is a way to map sections directly to C # functions? Instead of 100 + EX: Something like this You can do this by setting the LUC in your function in the variable which Phoenx exports or props. EX: register functions and mapping them?
this.lua = new LuaInterface.Lua (); RegisterAll (Class1.MainClass); Lua.DoFile (this.filePath); Start
function inside Libre MainClass.MappedPrintFunc ("hihi"); Finally
class manager () public static GameLocalPlayer LocalPlayer {get; Set; } LuaInterace lua = New LuaInterface; Lua ["VariableName"] = Manager.LocalPlayer; --- Lua ---- variablename.Health; VariableName: AttackTarget (target);
Comments
Post a Comment