示例#1
0
 void Update()
 {
     // Set Text based off population
     if (_planetInfo.CanEnter())
     {
         _text.text = $"Pop. {_planetInfo._population}\nPress E";
     }
     else
     {
         _text.text = "CLOSED";
     }
 }