public void ResultGacha(object getObject) { SetButtonActivate(false); GetComponent <Animator>()?.SetTrigger("Particle"); particleController.BeginSummonAnimation(() => { gachaResultPopup.SetActive(true); GetComponent <Animator>()?.SetTrigger("Glowing"); GachaResultPopup.PopupAlert(getObject); }); }
private void OnDisable() { SetActiveButtons(false); Instance = null; }
private void OnEnable() { SetActiveButtons(false); Instance = Instance ?? this; }