public void onCompleteTween() { cachedGameobject.SetActive(false); UIMissionClearNotice.setPanelToPool(this); if (_isFinalNotice) { UIMissionClearNotice.instance.gameObject.SetActive(false); } }
void OnDestroy() { instance = null; panel = null; panel2 = null; }
void Awake() { instance = this; gameObject.SetActive(false); camera.enabled = true; }