1234567891011121314151617181920212223242526272829 |
- using UnityEngine;
- namespace WebTools.Reward
- {
- public enum RewarType
- {
- Experience,
- Dollar,
- Glam,
- Stars
- }
- public class GigRewardButton : RewardBase
- {
- protected override void Start()
- {
- float random = Random.value;
- if (random < 0.5f)
- SetExperience();
- else
- SetDollar();
- base.Start();
- }
- }
- }
|