sm.game.setEnableUpgrade

Enables and disables upgrade. If true, the Interactable can be upgraded with component kits.

Kind: Function

Environments: Game

Game

sm.game.setEnableUpgrade( enableUpgrade )

Open the full Game reference

Availability: Server only

Parameters:

Name Type Description
enableUpgrade boolean The enable state.