Пример #1
0
 private void ShowSleepChoosePanel(bool state = true)
 {
     if (state)
     {
         if (_sleepChooosePanel == null)
         {
             _sleepChooosePanel = new SleepChoosePanel();
         }
         _sleepChooosePanel.Init(this);
         _sleepChooosePanel.Show(0);
     }
     else
     {
         if (_sleepChooosePanel != null)
         {
             _sleepChooosePanel.Hide();
         }
     }
 }
Пример #2
0
 public override void Init()
 {
     _sleepChooosePanel = new SleepChoosePanel();
     _sleepChooosePanel.Init(this);
     _sleepChooosePanel.Show(0.5f);
 }