Comments (1)
I'm sorry if I misunderstand something, but why can't you just create a single Lua environment with all the scripts, and pass the "actor" to the Lua methods you're calling, so that they know what actor to work on? Isn't it just the same as passing a variable?
Or build and maintain a table with your actors within the Lua environemnt so that it has some kind of access to them?
from nlua.
Related Issues (20)
- Question about data types of arithmetic operations HOT 2
- Working with Luau? HOT 2
- Registering any function causes all `MethodBase` properties and recursive properties to be registered as well
- List Indexer return null? (Question) HOT 1
- c#使用报错 试图加载格式不正确的程序 HOT 1
- Alwasy got Invalid arguments to method HOT 2
- AccessViolationException HOT 1
- The function name does not support Chinese,
- Add an attribute to allow developers to choose member names when registered in Lua
- how can i push LuaScriptException ? HOT 1
- How do you pass functions as delegates? HOT 10
- Unable to pass Lua functions as parameters to the Delegate class
- How can I get all variable objects from the lua file in c# ?
- Concat operator does only tries to invoke metamethod from lhs
- compatibility with KeraLua
- AOT support? HOT 1
- Lua import function not working property on Linux/MacOS HOT 4
- Heavy Duty Persistence
- GetTable Documentation
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nlua.