- 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

Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

java - How not to audit a join table and related entities using Hibernate Envers? -

mongodb - CakePHP paginator ignoring order, but only for certain values -