Struct AudioOutputHandle
A handle type representing an IAudioOutput
Inherited Members
Namespace: Unity.Audio
Syntax
public struct AudioOutputHandle : IDisposable, IHandle<AudioOutputHandle>
Properties
Valid
Whether this handle is valid
Declaration
public readonly bool Valid { get; }
Property Value
Type | Description |
---|---|
Boolean |
Methods
Dispose()
Disposes the native output hook within Unity
Declaration
public void Dispose()
Implements
Equals(Object)
Whether this is the same handle as another instance
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
Object | obj | The other instance to compare |
Returns
Type | Description |
---|---|
Boolean |
Overrides
Equals(AudioOutputHandle)
Whether this is the same handle as another instance
Declaration
public bool Equals(AudioOutputHandle other)
Parameters
Type | Name | Description |
---|---|---|
AudioOutputHandle | other | The other instance to compare |
Returns
Type | Description |
---|---|
Boolean |
GetHashCode()
Returns a unique hash code for this handle
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
Int32 |