Exemple #1
0
 public void OpenInfoWindow()
 {
     if (InfoWindow == null)
     {
         InfoWindow        = PoolController.Get(WindowPool.Instance).Get <JobWindow>(UIManager.Transform);
         InfoWindow.Source = this;
     }
     else
     {
         InfoWindow.transform.SetAsLastSibling();
     }
 }
Exemple #2
0
 public void OpenInfoWindow()
 {
     if (InfoWindow == null)
     {
         InfoWindow        = DroneWindow.New();
         InfoWindow.Source = this;
     }
     else
     {
         InfoWindow.transform.SetAsLastSibling();
     }
 }
 public void OpenInfoWindow()
 {
     if (InfoWindow == null)
     {
         InfoWindow        = RetiredDroneWindow.New();
         InfoWindow.Source = this;
         InfoWindow.WindowName.SetText(Name);
     }
     else
     {
         InfoWindow.transform.SetAsLastSibling();
     }
 }