- Where Developers Learn, Share, & Build Careers


By loading the square there is a way to map sections directly to C # functions? Instead of 100 + register functions and mapping them?

EX: Something like this

  this.lua = new LuaInterface.Lua (); RegisterAll (Class1.MainClass); Lua.DoFile (this.filePath); Start   

  function inside Libre MainClass.MappedPrintFunc ("hihi"); Finally    

You can do this by setting the LUC in your function in the variable which Phoenx exports or props.

EX:

  class manager () public static GameLocalPlayer LocalPlayer {get; Set; } LuaInterace lua = New LuaInterface; Lua ["VariableName"] = Manager.LocalPlayer; --- Lua ---- variablename.Health; VariableName: AttackTarget (target);    

Comments

Popular posts from this blog

java - NullPointerException for a 2d Array -

python - Assemble mpeg file unable to play in mediaplayer -

c# - NameSpace Manager or XsltContent to parse aspx page -