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.ChangeBGMAndPlay The change BGM
UIActionOnApplied.SetToBGM The set to BGM
UIActionOnApplied.SetToBGMAndPlay The set to BGM and play
UIActionOnApplied.SetToSoundEffectList The set to sound effect list
UIActionOnApplied.SetToSoundEffectListAndPlay The set to sound effect list and play
UIActionOnApplied.PlayBGMFromProject The play BGM from project
UIActionOnApplied.PlaySoundEffectFromProject The play sound effect from project
bgmKey BGM key
soundEffectKey Sound effect 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
enableCancelOnLoadingModal 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