// Start is called before the first frame update void Start() { thePlayer = FindObjectOfType <CharMove2D>(); }
void Awake() { sceneloader = GameObject.Find("SceneManager").GetComponent <SceneLoader>(); playerMovement = this.GetComponent <CharMove2D>(); audioData = GetComponent <AudioSource>(); }