// Start is called before the first frame update void Start() { speed = 0; hammyRun = GetComponentInChildren <HammyRun>(); spin = GetComponentInChildren <SpinToWin>(); }
private void Awake() { this.spin = GetComponentInChildren <SpinToWin>(); this.hammyRun = GetComponentInChildren <HammyRun>(); this.mechMovement = GetComponentInParent <MechMovement>(); }