sm.gui.setGarageButtonCallback

Sets a button callback to be called when the button is pressed.

Kind: Function

Environments: Game

Game

sm.gui.setGarageButtonCallback( callback )

Open the full Game reference

Availability: Client only

Parameters:

Name Type Description
callback string Function to be called when button is pressed