diff --git a/README.md b/README.md index 6330d2b..24b71b1 100644 --- a/README.md +++ b/README.md @@ -775,7 +775,8 @@ Animator Controller 可以使用以下参数: - `SoundTagPlayChance`(可选):字典类型,键为音效标签(不区分大小写),值为播放概率(0-100) - 概率值会被自动转换为 0-1 之间的浮点数(除以 100) - 当触发该标签的音效时,会根据配置的概率决定是否播放 - - 如果未配置或概率为 0,则始终播放(默认行为) + - 如果未配置,则始终播放(默认行为) + - 如果概率为 0,则始终不播放 - 如果概率小于 100,则有一定几率不播放该音效 ### 注意事项 diff --git a/README_EN.md b/README_EN.md index 2d63bdc..c39fcf2 100644 --- a/README_EN.md +++ b/README_EN.md @@ -775,7 +775,8 @@ In `ModelInfo` within `bundleinfo.json`, you can configure playback probability - `SoundTagPlayChance` (optional): Dictionary type, where keys are sound tags (case-insensitive) and values are playback probabilities (0-100) - Probability values are automatically converted to floats between 0-1 (divided by 100) - When a sound with this tag is triggered, whether it plays is determined by the configured probability - - If not configured or probability is 0, always plays (default behavior) + - If not configured, always plays (default behavior) + - If probability is 0, never plays - If probability is less than 100, there's a chance the sound won't play ### Notes