Predicted footstep sounds (#7107)

This commit is contained in:
metalgearsloth
2022-03-14 02:42:39 +11:00
committed by GitHub
parent dc5720bc86
commit ba9312ccc7
8 changed files with 168 additions and 177 deletions

View File

@@ -0,0 +1,17 @@
using Content.Shared.Sound;
namespace Content.Shared.Movement.Components
{
/// <summary>
/// Changes footstep sound
/// </summary>
[RegisterComponent]
public sealed class FootstepModifierComponent : Component
{
[DataField("footstepSoundCollection", required: true)]
public SoundSpecifier SoundCollection = default!;
[DataField("variation")]
public float Variation = default;
}
}