void Start() { musicSource = this.gameObject.GetComponent <AudioSource>(); joystick = FindObjectOfType <Joystick> (); buttonSpace = FindObjectOfType <FixedButtonSpace> (); buttonQ = FindObjectOfType <FixedButtonQ> (); buttonE = FindObjectOfType <FixedButtonE> (); _charController = GetComponent <CharacterController>(); //чтоб взаимодействовать со стенами }