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

Using References as a (kind of) runtime set with nullable #139

Open
ysftulek opened this issue Nov 27, 2020 · 0 comments
Open

Using References as a (kind of) runtime set with nullable #139

ysftulek opened this issue Nov 27, 2020 · 0 comments

Comments

@ysftulek
Copy link

I am using characterReference for storing my ray hit target, then calling event when that data changes using my variables onValueChange event, thanks to you, but the problem is I can't use this variable as a runtime set because

  1. I can't make it null when game stops and onStart
  2. It also can't register the same variable twice, I know that you intentionally wrote the script that way so we can't put the same variable twice in there, so then you may tell me use event for that, why you are storing that reference. That's good offer and it solves these problems, I can just pick and send that type to event but I also want to have a reference of it, it gives me more flexibility to work with.

Can you suggest me what can I do in this situation? Thanks again for your work, I really love this asset.

@ysftulek ysftulek changed the title Using References as a runtime set with nullable Using References as a (kind of) runtime set with nullable Nov 27, 2020
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