RespawnShrineStaticAudioController
A class in Root.Township, ATT.Respawn.
Plays a respawn shrine's looping sound while it has at least one subscriber.
- Listed in ATT, Features and other game namespaces
- Inherits or implements
MonoBehaviour
Constructors
| Member | What it is |
|---|---|
RespawnShrineStaticAudioController() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
1 private and internal field
| Member | What it is |
|---|---|
private LoopingSoundEffect loopingSoundEffect | The looping sound played while fuel is being used. |
Methods
| Member | What 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: