Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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

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

definitionGet and Set the serialized object as a IAudioEffect.

Methods

Method

Description

GetA type-safe helper method that retrieves the internal value.
SetA type-safe helper method that sets the internal value.