Storing Data - RealityStop/Bolt.Addons.Community GitHub Wiki
There are four ways to store data:
- on a port: has obvious downsides. It will be per execution, and the value does get stored in the port, but you'd have to mangle it and bleh.
- static internal member to the class: shared by all copies everywhere
- internal member to the class: shared by all uses of the instance of the unit
- in the Unit's data (an optional system that you won't have seen unless you look in a unit that uses it). This is stored per use.