Exemple #1
0
 public LuaUnit(Unit unit, LuaContext context)
 {
     this.unit    = unit;
     this.context = context;
     LuaValue     = context.CreateObject();
 }
Exemple #2
0
 public LuaMapEvent(MapEvent mapEvent)
 {
     this.mapEvent = mapEvent;
     context       = mapEvent.GetComponent <LuaContext>();
     luaValue      = context.CreateObject();
 }