Name | Type | Description |
---|---|---|
json |
Object | optional Json object describing the animation frame effect |
Properties:
Name | Type | Description |
---|---|---|
isSE |
boolean | Indicate if the effect is a sound effect |
se |
SystemPlaySong | The sound effect to play |
condition |
AnimationEffectConditionKind | The animation effect condition |
Methods
-
Read the JSON associated to the animation frame effect
Name Type Description json
Object Json object describing the animation frame effect -
Play the sound effect according to a condition
Name Type Description condition
AnimationEffectConditionKind The animation effect condition kind