Resonance Audio Unity SDK API Reference

ResonanceAudioRoomManager.SurfaceMaterialDictionary Class Reference

ResonanceAudioRoomManager.SurfaceMaterialDictionary

A serializable dictionary class that maps surface materials from GUIDs.

Summary

The dictionary is serialized to two lists, one for the keys (GUIDs) and one for the values (surface materials).

Inheritance

Inherits from: Dictionary< string, SurfaceMaterial >, ISerializationCallbackReceiver

Constructors and Destructors

SurfaceMaterialDictionary()

Public functions

OnAfterDeserialize()
void
Deserializes the two lists and fills the dictionary.
OnBeforeSerialize()
void
Serializes the dictionary to two lists.

Public functions

OnAfterDeserialize

void OnAfterDeserialize()

Deserializes the two lists and fills the dictionary.

OnBeforeSerialize

void OnBeforeSerialize()

Serializes the dictionary to two lists.

SurfaceMaterialDictionary

 SurfaceMaterialDictionary()