Skip to main content

RespawnShrineStaticAudioController

A class in Root.Township, ATT.Respawn.

Plays a respawn shrine's looping sound while it has at least one subscriber.

Constructors​

MemberWhat it is
RespawnShrineStaticAudioController()Unity makes components itself; use AddComponent or spawn a prefab instead of new.

Fields​

1 private and internal field
MemberWhat it is
private LoopingSoundEffect loopingSoundEffectThe looping sound played while fuel is being used.

Methods​

MemberWhat it is
void SetFuelConsumptionAudioPlayState(int numberOfSubscribers)Starts the loop when there are subscribers and stops it when there are none.

Used in​

Members of other types that take, return or hold a RespawnShrineStaticAudioController: