Table of Contents

Delegate Soundscape.IntensityDelegate

Namespace
TinyLife.World
Assembly
Tiny Life.dll

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 Map
A delegate method used by 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.
cameraWorldPos Vector2
A delegate method used by 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.

Returns

float
A delegate method used by 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.
Extension Methods