CollisionSoundSystemclass

This system exists to collect pending collision sounds and filter them into a unique set, to avoid unnesssary sounds playing, when they're going to be making the same sound anyway.

object→GameObjectSystem<T>→CollisionSoundSystem
Namespace
Sandbox
Assembly
Sandbox.Engine
Declaration
public sealed class Sandbox.CollisionSoundSystem : Sandbox.GameObjectSystem<T>

Constructors1

Showing 1 constructors

Methods4

Showing 4 methods

public virtual void Dispose()PUBLICVIRTUAL

Returns:void—

public void RegisterCollision(Sandbox.Collision collision)PUBLIC

Register this physics collision with the sound system

ParameterTypeDescription
collisionCollision—
Returns:void—

On this page