Delegate Soundscape.IntensityDelegate
A delegate method used by Soundscape to determine the volume that an ambient sound should have. The returned volume should be between 0 and 1, where 0 means the soundscape will not be played at all.
public delegate float Soundscape.IntensityDelegate(Map map, Vector2 cameraWorldPos)
Parameters
map
MapcameraWorldPos
Vector2
Returns
- Extension Methods