Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request for dynamic variables #80

Open
killereks opened this issue Jun 21, 2023 · 0 comments
Open

Request for dynamic variables #80

killereks opened this issue Jun 21, 2023 · 0 comments

Comments

@killereks
Copy link

I would like to request a feature for the compute engine to be able to handle dynamic variables. This would allow for either changing the value of a variable and dynamically getting the result or letting the compute engine figure out what variables are needed and use getters to get them.

For example:

computeEngine.DynamicVar("Health", () => player.health);

This feature would be particularly useful for projects with a large number of variables, where only a few would be used at once. It would eliminate the need to set every possible variable if it isn’t going to be used, or at least provide a way to fetch the required variables so that only the ones required are set.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant