Example #1
0
 public static void setPanelToPool(UIMissionClearNoticePanel p)
 {
     if (instance != null)
     {
         if (p.isScarlet)
         {
             instance.pool2.Push(p);
         }
         else
         {
             instance.pool.Push(p);
         }
     }
 }
Example #2
0
 void OnDestroy()
 {
     instance = null;
     panel    = null;
     panel2   = null;
 }