Jump to content

better way to have common variable in skinner


photo

Recommended Posts

Hi,

 

i have several skinner blocks that set switch speed on switch block.

 

For don't rewrite switch speed when two or more blocks are used, i set this switch speed to each block too.

The logic for change switch speed is inside each block.

 

The problem is when i have already around 9 blocks that i must set switch speed between all, then there are too much connection lines between blocks.

 

The question is: it exist better solution for this situation, for example set one global variable for this blocks, or set that variable is reference?

 

Thanks

Honya

Link to comment
×
×
  • Create New...