Esempio n. 1
0
 protected virtual void OnOpen(BaseView baseView, bool useGroup)
 {
     if (GO == null)
     {
         return;
     }
     if (IsActiveByShow)
     {
         GO.SetActive(true);
     }
     Callback_OnOpen?.Invoke(baseView, useGroup);
 }
Esempio n. 2
0
 protected virtual void OnOpen(UView baseView, bool useGroup)
 {
     if (GO == null)
     {
         return;
     }
     if (IsActiveByShow)
     {
         GO.SetActive(true);
     }
     if (IsRecord)
     {
         BaseUIMgr.AddRecordView(this);
     }
     IsDragged = false;
     Callback_OnOpen?.Invoke(baseView, useGroup);
 }