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)); } }
public virtual void SetResult(ActiveBaseData activeResult) { }
public void PickResult(ActiveBaseData result) { resultController.SetResult(result); GameEventMessage.SendEvent(uiEventString); }
public void SetupButton(BrokerBase broker, ActiveBaseData resultData) { this.broker = broker; this.activeResultData = resultData; UpdateView(); }