C# Class AlterSoundPlay, Hellbound

Inheritance: MonoBehaviour
Afficher le fichier Open project: Backman/Hellbound Class Usage Examples

Méthodes publiques

Свойство Type Description
m_Enter bool
m_Exit bool
m_Once bool
m_Path string
m_PlayOneShot bool
m_Position Vector3
r_GameObjects GameObject[]

Méthodes publiques

Méthode Description
OnTriggerEnter ( Collider other ) : void
OnTriggerExit ( Collider other ) : void
Start ( ) : void

Private Methods

Méthode Description
PlayEvent ( ) : void
PlayShot ( ) : void

Method Details

OnTriggerEnter() public méthode

public OnTriggerEnter ( Collider other ) : void
other Collider
Résultat void

OnTriggerExit() public méthode

public OnTriggerExit ( Collider other ) : void
other Collider
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

Property Details

m_Enter public_oe property

public bool m_Enter
Résultat bool

m_Exit public_oe property

public bool m_Exit
Résultat bool

m_Once public_oe property

public bool m_Once
Résultat bool

m_Path public_oe property

public string m_Path
Résultat string

m_PlayOneShot public_oe property

public bool m_PlayOneShot
Résultat bool

m_Position public_oe property

public Vector3 m_Position
Résultat Vector3

r_GameObjects public_oe property

AlterSoundPlay was written by Anton Thorsell Altersoundplay is to be placed on a collider (also requires a pointer to an object with an FMOD_StudioEventEmitter) This script will start or stop playing sounds depending if the player entered/exited the collider You can also specify if the sound only should be played once (if so it will destroy itself when it is done)
public GameObject[] r_GameObjects
Résultat GameObject[]