Search Results for

    Show / Hide Table of Contents

    Class AllocatedObject

    Represents an UnityEngine.Object allocated during the import process.

    Inheritance
    object
    AllocatedObject
    Namespace: TriLibCore
    Assembly: TriLibCore.Source.dll
    Syntax
    public class AllocatedObject

    Constructors

    AllocatedObject(Object, bool)

    Declaration
    public AllocatedObject(Object source, bool isEmbedded)
    Parameters
    Type Name Description
    Object source
    bool isEmbedded

    Fields

    IsEmbedded

    Whether the source of the allocated object was embedded.

    Declaration
    public bool IsEmbedded
    Field Value
    Type Description
    bool

    Source

    The allocated UnityEngine.Object itself.

    Declaration
    public Object Source
    Field Value
    Type Description
    Object

    Operators

    implicit operator Object(AllocatedObject)

    Declaration
    public static implicit operator Object(AllocatedObject obj)
    Parameters
    Type Name Description
    AllocatedObject obj
    Returns
    Type Description
    Object

    Extension Methods

    IObjectExtensions.TryToDispose<T>(object)
    In this article
    Back to top TriLib documentation