Events

You can use next events for your purposes:

LevelManager.OnMapState += OnMapState;

LevelManager.OnEnterGame += OnEnterGame;

LevelManager.OnLevelLoaded += OnLevelLoaded;

LevelManager.OnMenuPlay += OnMenuPlay;

LevelManager.OnMenuComplete += OnMenuComplete;

LevelManager.OnStartPlay += OnStartPlay;

LevelManager.OnWin += OnWin;

LevelManager.OnLose += OnLose;

LevelManager.OnTurnEnd += OnTurnEnd;

LevelManager.OnStartPlay += OnStartPlay; - touch item

Custom coins reward

Use this line to show coins reward InitScript.Instance.ShowGemsReward(winRewardAmount)

Last updated