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