private void Awake() { inputManager = FindObjectOfType <PW_InputManager>(); localizationManager = FindObjectOfType <LocalizationManager>(); highscoreHandler = FindObjectOfType <HighscoreHandler>(); populateHighscore = GetComponentInChildren <PopulateHighscore>(true); }
private void Awake() { rBody = GetComponent <Rigidbody2D>(); anim = GetComponent <Animator>(); inputManager = FindObjectOfType <PW_InputManager>(); }
private void Awake() { audioSource = GetComponent <AudioSource>(); inputManager = FindObjectOfType <PW_InputManager>(); }
private void Awake() { inputManager = FindObjectOfType <PW_InputManager>(); }