
0
Answered
Define Public Variable
Hello,
Really enjoying using Bolt. Just hours in, but learning pretty easily. But, how do I define a public variable for a object?
Bolt Version:
Unity Version:
Platform(s):
Scripting Backend:
.NET Version (API Compatibility Level):
Customer support service by UserEcho
Hi Steve!
All variables are public in Bolt, there is no access modifier. You're right, your approach is good.
Adding a variable to the Variables component or to the Object tab in the variables window is exactly the same thing.
Let me know if you have any further question.
Really dumb question. They're all public. Sorry.
Not a dumb question at all, it's something that varies by visual scripting tool!
I'll make a note to specify it in the manual. :)