Reply To: Best practice for similar method as class vars and instance vars?

FlowCanvas Forums Support Best practice for similar method as class vars and instance vars? Reply To: Best practice for similar method as class vars and instance vars?

#2573
elvisish
Participant

So, using an asset graph seems to be similar to using a c# class/bolt 2 class, and using exposed public graph variables with instance overrides would match c#/bolt 2, except for the fact that the overrides seem to change the graph default as well? Shouldn’t exposed public gameobject instance overrides only ever change the variable on the instance, and never change the graph variable?

As far as I can tell, every instance needs to have it’s own variable override, otherwise the override (any override? the last overridden variable? the last object to have the variable overridden?) will change the graph’s variable default. If the overrides were completely independent and unable to change the graph default, this would be a perfect workaround for a class-type variable system.