Glue:Reference:Variables:IsShared

Introduction

The IsShared variable determines whether a given variable is shared among all instances of a given Entity. In code, a variable which is marked as “IsShared” will be static.

A variable which is marked as IsShared has the following characteristics:

  • All instances will always have the same value
  • The value can be set in code even if no instances are available
  • The value will persist even when a Screen is switched

IsShared.PNG