This method will deactivate the title layer, set the level number to 1
, and load the level. To implement it, follow the ensuing steps:
StartNewGame
into the game
class.Method StartNewGame:Int()
layerTitle.SetActive(False)
1
and load the level.levelNum = 1 LoadLevel()
gameMode
needs to be set to gmPlay
. Close this method.gameMode = gmPlay Return 0 End
18.117.142.144