mUISinkSound

Summary

Sink for reading and playing sound according to data. This class cannot be inherited.

Relation

mUniSm.Page.Dataflow.UISinkBehaviour

Variable

format Apply format
key Sync key
sound Apply target
UIActionOnApplied.SetToAudioSource The set to audio source
UIActionOnApplied.SetToAudioSourceAndPlay The set to audio source and play
UIActionOnApplied.SetToMainBGM The set to main BGM
UIActionOnApplied.SetToMainBGMAndPlay The set to main BGM and play
UIActionOnApplied.SetToSoundEffectList The set to sound effect list
UIActionOnApplied.SetToSoundEffectListAndPlay The set to sound effect list and play
soundEffectKey Sound effect key
assetTypeKey The asset type key
assetVersionKey The asset version key
UIActionOnLoad.AutoRequestOnSync The automatic request on synchronize
UIActionOnLoad.ManuallyRequest The manually request
UIActionOnLoad.WaitRequestAndGetData The wait request and get data
resetOnDisable Data reset on disable
enableCancelOnLoaingModal The enable cancel on loaing modal

Property

keepAssetWhilePlay Keep the asset without erasing while the sound is playing.
source Reference source
actionOnApplied Action On Applied
assetType Asset type
actionOnLoad Data loading type
showModalOnLoad The show modal on load

Method

FindInstance( ) Find instances
IsApplied( ) Determines whether this instance is applied.
Reset( ) Reset component
IsSet( ) Confirm whether data is set
IsError(UIDataItem,System.String) Check if there is an error
Sync( ) Sync process.
Update( ) Process on Update
Load( ) Loads a new data
OnDisable( ) Process on Disable
CheckUpdatedInternal(System.Int64) Checks the updated.

Reference