// Start is called before the first frame update void Start() { //Camera.main COMPONENT_STATUS = this; EHS = GetComponent <EnemyHealthScr>(); MAS = GetComponent <MechAudioScr>(); SHAKE = Camera.main?.GetComponent <ShakeCamera>(); //StartCoroutine(damageWait(timeBetweenDiceRolls)); countDown = timeBetweenDiceRolls; //CountDownText for (int i = 0; i < compSliders.Count; i++) { CompStatusValue[i].text = compSliders[i].value.ToString(); } }
void Start() { CSS = ComponentStatusScr.COMPONENT_STATUS; canRepair = false; }