6 public static GameObject
slot;
34 InvokeRepeating(
"RandomAnime", 2f, 2f);
57 ELayer.player.dailyGacha =
false;
62 if (thing ==
null || thing.
Num < num)
71 d.
windows[0].setting.textCaption =
"confirm".lang();
75 for (
int i = 0; i < num; i++)
117 int rarity =
item.Source.rarity;
118 if (rarity == 4 || rarity == 5)
134 d.
windows[0].Find<Transform>(
"GachaAnime").SetActive(enable:
true);
141 TweenUtil.Delay(0.5f, delegate
143 ELayer.
Sound.Play(lose ?
"gacha_lose" :
"gacha_win");
static ActionMode DefaultMode
void Activate(bool toggle=true, bool forceActivate=false)
void ModNum(int a, bool notify=true)
Color GetRarityColor(int r, bool light=false)
static ColorProfile Colors
static SoundManager Sound
Item AddRandom(int r, bool msg=true)
static string Get(string id)
override void OnAfterInit()
void OnClickSilverGacha(int num)
DOTweenAnimation[] randomAnimes
void PlayGacha(bool gold, int num)
void OnClickGoldGacha(int num)
static Layer Create(string path)
Layer SetOnKill(Action action)
static PopItem TalkHomeMemeber(string id)
virtual void Refresh(bool highlightLast=false)
Transform AddPrefab(string path)
UIItem AddText(string text, FontColor color=FontColor.DontChange)
void Space(int sizeY=0, int sizeX=1)