void Start() { aso = GetComponent <AudioSource>(); sl = FindObjectOfType <SoundLibrary>(); jump = sl.GetPlayerJump(); walk = sl.GetPlayerStep(); gravityFactor *= -9.81f; cc = GetComponentInChildren <CharacterController>(); ic = FindObjectOfType <InputController>(); }