feat: add initial People Playground mod development kit
This commit is contained in:
@@ -0,0 +1,58 @@
|
||||
URL: https://wiki.studiominus.nl/internalReference/DistantSoundBehaviour.html
|
||||
Title: People Playground Modding - DistantSoundBehaviour
|
||||
==================================================
|
||||
|
||||
public class DistantSoundBehaviour
|
||||
Inherits MonoBehaviour
|
||||
There should only exist 1 instance of this behaviour in the scene. When an explosion or other loud noise happens, this behaviour is called to make a distant explosion noise.
|
||||
Nested types
|
||||
DistantSoundBehaviour.SoundType
|
||||
Fields
|
||||
public AudioClip[] SmallDistantExplosions
|
||||
No description provided
|
||||
|
||||
public AudioClip[] LargeDistantExplosions
|
||||
No description provided
|
||||
|
||||
public AudioClip[] LargerDistantExplosions
|
||||
No description provided
|
||||
|
||||
public AudioClip[] SmallDistantFirearms
|
||||
[Space]
|
||||
No description provided
|
||||
|
||||
public AudioClip[] MediumDistantFirearms
|
||||
No description provided
|
||||
|
||||
public AudioClip[] LargeDistantFirearms
|
||||
No description provided
|
||||
|
||||
public AudioSource AudioSource
|
||||
[Space]
|
||||
No description provided
|
||||
|
||||
Properties
|
||||
public static DistantSoundBehaviour Instance { get; private set; }
|
||||
No description provided
|
||||
|
||||
Methods
|
||||
public void Play(SoundType soundType, Vector2 point, float volume = 1)
|
||||
No description provided
|
||||
|
||||
public void PlaySmallExplosion(Vector2 point, float volume = 1)
|
||||
No description provided
|
||||
|
||||
public void PlayLargeExplosion(Vector2 point, float volume = 1)
|
||||
No description provided
|
||||
|
||||
public void PlayLargerExplosion(Vector2 point, float volume = 1)
|
||||
No description provided
|
||||
|
||||
public void PlaySmallFirearm(Vector2 point, float volume = 1)
|
||||
No description provided
|
||||
|
||||
public void PlayMediumFirearm(Vector2 point, float volume = 1)
|
||||
No description provided
|
||||
|
||||
public void PlayLargeFirearm(Vector2 point, float volume = 1)
|
||||
No description provided
|
||||
Reference in New Issue
Block a user