HKI Core
Public Member Functions | Private Member Functions | Private Attributes | List of all members
HKI.Core.Audio.PlaySoundOnlyIfTimePassed Class Reference

This MonoBehaviour allows the delay of playing a soundclip. More...

Inheritance diagram for HKI.Core.Audio.PlaySoundOnlyIfTimePassed:

Public Member Functions

void Play ()
 

Private Member Functions

void ChangePlayableBack ()
 

Private Attributes

PlaySoundClip PlaySoundClip = null
 
float TimeToPass = 5.0f
 
bool playable = true
 

Detailed Description

This MonoBehaviour allows the delay of playing a soundclip.

Definition at line 9 of file PlaySoundOnlyIfTimePassed.cs.

Member Function Documentation

◆ ChangePlayableBack()

void HKI.Core.Audio.PlaySoundOnlyIfTimePassed.ChangePlayableBack ( )
inlineprivate

Definition at line 31 of file PlaySoundOnlyIfTimePassed.cs.

◆ Play()

void HKI.Core.Audio.PlaySoundOnlyIfTimePassed.Play ( )
inline

Definition at line 20 of file PlaySoundOnlyIfTimePassed.cs.

Member Data Documentation

◆ playable

bool HKI.Core.Audio.PlaySoundOnlyIfTimePassed.playable = true
private

Definition at line 17 of file PlaySoundOnlyIfTimePassed.cs.

◆ PlaySoundClip

PlaySoundClip HKI.Core.Audio.PlaySoundOnlyIfTimePassed.PlaySoundClip = null
private

Definition at line 12 of file PlaySoundOnlyIfTimePassed.cs.

◆ TimeToPass

float HKI.Core.Audio.PlaySoundOnlyIfTimePassed.TimeToPass = 5.0f
private

Definition at line 14 of file PlaySoundOnlyIfTimePassed.cs.


The documentation for this class was generated from the following file: