Class SpookyMusicHandler
- Namespace
- DefaultNamespace
- Assembly
- Assembly-CSharp.dll
public class SpookyMusicHandler : MonoBehaviour
- Inheritance
-
SpookyMusicHandler
- Inherited Members
-
- Extension Methods
-
Constructors
SpookyMusicHandler()
public SpookyMusicHandler()
Fields
isDanger
Field Value
- bool
level
Field Value
- int
onVolume
Field Value
- float
sinceDanger
Field Value
- float
source
public AudioSource source
Field Value
- AudioSource
view
Field Value
- PhotonView
Methods
AddDanger(float, int)
public void AddDanger(float dangerPercentage, int jumpScareLevel)
Parameters
dangerPercentage
float
jumpScareLevel
int
Awake()
RPCA_ToggleDanger(bool)
[PunRPC]
public void RPCA_ToggleDanger(bool setDanger)
Parameters
setDanger
bool
ToggleDanger(bool)
public void ToggleDanger(bool setDanger)
Parameters
setDanger
bool
Update()