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