Ich kündige!

This commit is contained in:
Simon Lübeß
2024-04-09 02:05:17 +02:00
parent 4ab8603cfb
commit ef40531dc3
36 changed files with 1116998 additions and 58 deletions

View File

@ -58,6 +58,8 @@ public class Character : MonoBehaviour
public bool CarriesItem => _carriedInteractible;
public PickupInteractible CarriedItem => _carriedInteractible;
public GottfriedData Data => _data;
// Start is called before the first frame update
void Start()
@ -264,4 +266,9 @@ public class Character : MonoBehaviour
_canHurt = true;
}
public void PlayStepSound()
{
_audioSource.PlayOneShot(_data.StepSounds.GetRandomElement());
}
}