Table of Contents

Class SpookyMusicHandler

Namespace
DefaultNamespace
Assembly
Assembly-CSharp.dll
public class SpookyMusicHandler : MonoBehaviour
Inheritance
SpookyMusicHandler
Inherited Members
Extension Methods

Constructors

SpookyMusicHandler()

public SpookyMusicHandler()

Fields

isDanger

public bool isDanger

Field Value

bool

level

public int level

Field Value

int

onVolume

public float onVolume

Field Value

float

sinceDanger

public float sinceDanger

Field Value

float

source

public AudioSource source

Field Value

AudioSource

view

public PhotonView view

Field Value

PhotonView

Methods

AddDanger(float, int)

public void AddDanger(float dangerPercentage, int jumpScareLevel)

Parameters

dangerPercentage float
jumpScareLevel int

Awake()

public void 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()

public void Update()