IAudioEffect.Serializable
A helper struct that allows you to serialize a reference to any Object, MonoBehaviour or ScriptableObject that implements IAudioEffect.
Read time 1 minuteLast updated 9 days ago
Definition
- Type: Struct
- Namespace: UnityEngine.Audio
- Assembly: UnityEngine.AudioModule
public struct IAudioEffect.Serializable
Remarks
Interface references are not directly serializable in user scripts if they are implemented on a Object, even if using SerializeReference.
Constructors
Constructor | Description |
|---|---|
| Serializable(UnityEngine.Audio.IAudioEffect) | Construct this serializable struct with an initial IAudioEffect value. |
Properties
Property | Description |
|---|---|
| definition | Get and Set the serialized object as a IAudioEffect. |