Ejemplo n.º 1
0
 public override void OnClick(Selectable item)
 {
     if (item.name.Equals(mBtnStart.name))
     {
         IShooter shooter = ServiceLocator.GetService <IShooter>();
         shooter.StartGame();
         SetVisiblity(false);
     }
 }