// Start is called before the first frame update
 void Awake()
 {
     _ui = GetComponent <WarningUI>();
 }
示例#2
0
 public override void Initialise()
 {
     base.Initialise();
     warn          = GameObject.Find("WarningUI").GetComponent <WarningUI>();
     currentSanity = 9f;
 }