
+2
Answered
is scene variable same as public variable?
If not then which one?
Bolt Version:
Unity Version:
Platform(s):
Scripting Backend:
.NET Version (API Compatibility Level):
Answer

+2
Answer
Scene variable is closer to a public static variable or a global in languages that allow that, as it is not tied to an instance. Object variables are actually all you really need to replicate a public variable, as they are tied to the instance, but accessible from any graph (just set the instance in the Get Object Variable).
Customer support service by UserEcho
Scene variable is closer to a public static variable or a global in languages that allow that, as it is not tied to an instance. Object variables are actually all you really need to replicate a public variable, as they are tied to the instance, but accessible from any graph (just set the instance in the Get Object Variable).