UnitClass.isSaveObject
Enables or disables saving of this unit. (Defaults to true)
Kind: Constant
Environments: Game
Game
If enabled, the Unit will be recreated when loading a game. Otherwise, the Unit is considered a temporary object.
Note: If disabled, self.storage can not be used.
Returns:
| Type | Description |
|---|---|
| boolean | — |