Skip to content

Commit

Permalink
TriggerInOutSound doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Narazaka committed Dec 26, 2023
1 parent 2bf8994 commit 223637d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,19 @@ Drop時に子の位置や向きの補正等は行わないので「トレーに
- このオブジェクトをコライダー判定などでactive/inactiveにするとAudioReverbFilterが連動します。
- AudioSourceのサンプルが`Samples/AudioSource.prefab`にあるのでシーンに配置し参照して下さい。

### TriggerInOutSound

コライダーにプレイヤーやPickupオブジェクトが出たり入ったりする時に音を出します

#### セットアップ

- 水中コライダーに`TriggerInOutSound`コンポーネントを付けます。
- AudioSourcesに音を再生するAudioSourceを何個か設定します。
- 発声上限に引っかからないようオブジェクトプール的に使いまわします。
- 各種の音を設定します。

![inspector](docs~/TriggerInOutSound.png)

## 更新履歴

- 1.0.0
Expand Down
Binary file added docs~/TriggerInOutSound.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 223637d

Please # to comment.