void Start() { tileOn = PlayerSoundsManager.Track.Grass; playerSoundManager = PlayerSoundsManager.Instance; renderer = GetComponent <SpriteRenderer>(); UpdateHealthBar(); }
public void ChangeTileOn(PlayerSoundsManager.Track tile) { prevTileOn = tileOn; tileOn = tile; PlayerSoundsManager.Instance.SetTrack(tileOn); }