public void ItemClicked(UIItem item) { if (item.HasName(_ItemName)) { Debug.Log("Executing the next step " + item.GetName()); End(); mTutorialManager.NextStep(); } }
public override void OnItemClick(UIItem item) { base.OnItemClick(item); if (item.HasName("BtnRestart")) { mRunner.Restart(); SetVisibility(false); } }