Exemplo n.º 1
0
 /// <summary>
 /// 필드아이템인 별을 먹었을때 호출되는 함수
 /// </summary>
 /// <param name="sender"></param>
 public void OnGetStar(CatchGameStar sender)
 {
     _model.IncreaseStarCount(1);
     _playerController.OnEnterStar(_model.GetStarOnField());
     _view.UpdateStarCountPanel(_model.CurrentStarCount);
     AudioMgr.instance.PlaySoundEffect("GetStar");
 }
 public void DoGetStar(CatchGameStar sender)
 {
     if (GetStarEvent != null)
     {
         GetStarEvent(sender);
     }
 }