Метод | Описание | |
---|---|---|
SetMaxGain ( |
Sets the Spatial Sound maximum gain.
|
|
SetMinGain ( |
Sets the Spatial Sound minimum gain.
|
|
SetRoomSize ( |
Sets the Spatial Sound room size.
|
|
SetUnityGainDistance ( |
Sets the Spatial Sound unity gain distance.
|
Метод | Описание | |
---|---|---|
SetParameter ( |
Sets a Spatial Sound parameter on an AudioSource.
|
public static SetMaxGain ( |
||
audioSource | The AudioSource on which the maximum gain will be set. | |
gain | float | |
Результат | void |
public static SetMinGain ( |
||
audioSource | The AudioSource on which the minimum gain will be set. | |
gain | float | |
Результат | void |
public static SetRoomSize ( |
||
audioSource | The AudioSource on which the room size will be set. | |
room | SpatialSoundRoomSizes | The desired room size. |
Результат | void |
public static SetUnityGainDistance ( |
||
audioSource | The AudioSource on which the unity gain distance will be set. | |
distance | float | |
Результат | void |