private void OnProgressBarOver(UIEvent e) { if (this.m_rewardText != null) { this.ShowTooltip(); } else if (this.m_nextLevelReward != null) { RewardData reward = this.m_nextLevelReward.Reward; if (reward != null) { this.m_rewardText = RewardUtils.GetRewardText(reward); this.ShowTooltip(); } } }