void Start() { uiMenu = GetComponentInChildren <UIMenu>(); energyIndicators = GetComponentsInChildren <ChosenEnergyIndicator>().ToList(); uIIntermission = GetComponentInChildren <UIIntermission>(); ShowGameStart(); }
public void UpdateIntermissionInfo(string info) { if (showIntermission) { if (uIIntermission == null) { uIIntermission = GetComponentInChildren <UIIntermission>(); } uIIntermission.UpdateInfo(info); } }
public void UpdateIntermissionTimer(float time) { if (showIntermission) { if (uIIntermission == null) { uIIntermission = GetComponentInChildren <UIIntermission>(); } uIIntermission.UpdateTime(time); } }