public override void SetResult(ActiveBaseData result)
 {
     base.SetResult(result);
     activeMoodData = result as ActiveMoodData;
     slider.SetValues(0, playerCharacterController.LevelMood / 3.0f);
     if (playerCharacterController.LevelMood < 3)
     {
         playerCharacterController.SetMoodLevel(Mathf.Min(playerCharacterController.LevelMood + activeMoodData.MoodData.MoodImproveAmount, 3));
     }
 }
예제 #2
0
 public virtual void SetResult(ActiveBaseData activeResult)
 {
 }
 public void PickResult(ActiveBaseData result)
 {
     resultController.SetResult(result);
     GameEventMessage.SendEvent(uiEventString);
 }
예제 #4
0
 public void SetupButton(BrokerBase broker, ActiveBaseData resultData)
 {
     this.broker           = broker;
     this.activeResultData = resultData;
     UpdateView();
 }