Ich kündige!
This commit is contained in:
@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user