Fabric manager component must always be at the top of the hierarchy. Its main responsibility is to manage the component hierarchy.
A scene MUST have only ONE Fabric manager present.
Music Time Settings
Audio Source Pool
The manager also provides a pool of audio sources that are used by the audio components instead of having to create one for each instance. For example if there is an audio component that has a very big number Fabric’s default behaviour is to create an audio source for each instance. However, using the audio pool the number of audio sources is pre-allocated.
NOTE: At the moment if the maximum number of audio sources are used the pool will fail to allocate a new one.
Usage value shows the number of audio sources that are in use.
The info section shows the number of game objects uses by the fabric hierarchy as well as the memory used by the manager (NOTE: it does NOT include the audio memory used, for that you need to look in the Unity profiler) and CPU usage of the node (inclusive).
Volume Threshold and Virtual Events
Fabric introduces a new volume threshold property which is used to determine if a component will be active. The volume threshold is used in the following situations:
- PlaySound event action: When a play event action is posted and the current volume of the component is less than the threshold then the component is not played
- Virtualization: If a component is playing and its volume drops below the threshold (through RTP or game input) then the component will turn virtual until its volume threshold is higher again.
In order to reduce memory usage and performance it is possible to set the maximum number of virtual events that will be used by all components.