Пример #1
0
 // Update is called once per frame
 void Update()
 {
     if (Input.GetKey(KeyCode.Tab))
     {
         if (GlobalVars.IsGoblin)
         {
             RadianceInfoPanelControl.RadianceShow();
         }
         else
         {
             DireInfoPanelControl.DireShow();
         }
     }
     else
     {
         if (GlobalVars.IsGoblin)
         {
             RadianceInfoPanelControl.RadianceHide();
         }
         else
         {
             DireInfoPanelControl.DireHide();
         }
     }
 }
Пример #2
0
 // Start is called before the first frame update
 void Start()
 {
     DireInfoPanelControl.DireHide();
     RadianceInfoPanelControl.RadianceHide();
 }