docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class RefCountedObject

    Base class for objects managed with reference and disposal.

    Inheritance
    object
    RefCountedObject
    MediaStream
    MediaStreamTrack
    RTCDataChannel
    RTCRtpReceiver
    RTCRtpSender
    RTCRtpTransceiver
    RTCRtpTransform
    Implements
    IDisposable
    Namespace: Unity.WebRTC
    Assembly: Unity.WebRTC.dll
    Syntax
    public abstract class RefCountedObject : IDisposable

    Fields

    disposed

    Indicates whether the object has been disposed.

    Declaration
    protected bool disposed
    Field Value
    Type Description
    bool

    Methods

    Dispose()

    Releases resources used by the object.

    Declaration
    public virtual void Dispose()

    Implements

    IDisposable
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)