// Start is called before the first frame update void Start() { motor = GetComponent <RepairmanMotor>(); ladderMove = GetComponent <BetterLadderMovement>(); animator = visuals.GetComponent <Animator>(); rinput = GetComponent <RepairmanInput>(); fix = GetComponent <RepairmanFix>(); lastXPos = transform.localPosition.x; }
// Start is called before the first frame update void Start() { motor = GetComponent <RepairmanMotor>(); ladderMove = GetComponent <BetterLadderMovement>(); fix = GetComponent <RepairmanFix>(); }