Interface ISoundEx
Inherited Members
Namespace: GameCanvas
Assembly: GameCanvas.dll
Syntax
public interface ISoundEx : ISound
Methods
GetSoundVolume(GcSoundTrack)
トラック音量を取得します
Declaration
float GetSoundVolume(GcSoundTrack track = GcSoundTrack.Master)
Parameters
Type | Name | Description |
---|---|---|
GcSoundTrack | track | 対象の音声トラック |
Returns
Type | Description |
---|---|
Single | 音量(0f~1f) |
PlaySE(GcSound)
サウンドを1回再生します
Declaration
void PlaySE(in GcSound sound)
Parameters
Type | Name | Description |
---|---|---|
GcSound | sound | サウンド |
PlaySE(AudioClip)
サウンドを1回再生します
Declaration
void PlaySE(in AudioClip clip)
Parameters
Type | Name | Description |
---|---|---|
AudioClip | clip | サウンド |
SetSoundVolume(Single, GcSoundTrack)
トラック音量を変更します
Declaration
void SetSoundVolume(in float volume, GcSoundTrack track = GcSoundTrack.Master)
Parameters
Type | Name | Description |
---|---|---|
Single | volume | 音量(0f~1f) |
GcSoundTrack | track | 対象の音声トラック |