docs.unity3d.com
    Show / Hide Table of Contents

    Class Cloner<T>

    Inheritance
    Object
    Cloner<T>
    AnimationCurveCloner
    ArrayCloner
    DictionaryCloner
    EnumerableCloner
    ListCloner
    ReflectedCloner
    VariableDeclarationsCloner
    Namespace: Unity.VisualScripting
    Syntax
    public abstract class Cloner<T> : ICloner
    Type Parameters
    Name Description
    T

    Constructors

    Cloner()

    Declaration
    protected Cloner()

    Methods

    AfterClone(Type, T)

    Declaration
    public virtual void AfterClone(Type type, T clone)
    Parameters
    Type Name Description
    Type type
    T clone

    BeforeClone(Type, T)

    Declaration
    public virtual void BeforeClone(Type type, T original)
    Parameters
    Type Name Description
    Type type
    T original

    ConstructClone(Type, T)

    Declaration
    public virtual T ConstructClone(Type type, T original)
    Parameters
    Type Name Description
    Type type
    T original
    Returns
    Type Description
    T

    FillClone(Type, ref T, T, CloningContext)

    Declaration
    public virtual void FillClone(Type type, ref T clone, T original, CloningContext context)
    Parameters
    Type Name Description
    Type type
    T clone
    T original
    CloningContext context

    Handles(Type)

    Declaration
    public abstract bool Handles(Type type)
    Parameters
    Type Name Description
    Type type
    Returns
    Type Description
    Boolean
    Implements
    ICloner.Handles(Type)

    Explicit Interface Implementations

    ICloner.AfterClone(Type, Object)

    Declaration
    void ICloner.AfterClone(Type type, object clone)
    Parameters
    Type Name Description
    Type type
    Object clone
    Implements
    ICloner.AfterClone(Type, Object)

    ICloner.BeforeClone(Type, Object)

    Declaration
    void ICloner.BeforeClone(Type type, object original)
    Parameters
    Type Name Description
    Type type
    Object original
    Implements
    ICloner.BeforeClone(Type, Object)

    ICloner.ConstructClone(Type, Object)

    Declaration
    object ICloner.ConstructClone(Type type, object original)
    Parameters
    Type Name Description
    Type type
    Object original
    Returns
    Type Description
    Object
    Implements
    ICloner.ConstructClone(Type, Object)

    ICloner.FillClone(Type, ref Object, Object, CloningContext)

    Declaration
    void ICloner.FillClone(Type type, ref object clone, object original, CloningContext context)
    Parameters
    Type Name Description
    Type type
    Object clone
    Object original
    CloningContext context
    Implements
    ICloner.FillClone(Type, ref Object, Object, CloningContext)

    Extension Methods

    XAnalyserProvider.Analyser(Object, IGraphContext)
    XAnalyserProvider.Analyser<TAnalyser>(Object, IGraphContext)
    XAnalyserProvider.Analysis(Object, IGraphContext)
    XAnalyserProvider.Analysis<TAnalysis>(Object, IGraphContext)
    XAnalyserProvider.Analyser(Object, GraphReference)
    XAnalyserProvider.Analyser<TAnalyser>(Object, GraphReference)
    XAnalyserProvider.Analysis(Object, GraphReference)
    XAnalyserProvider.Analysis<TAnalysis>(Object, GraphReference)
    XDescriptorProvider.Describe(Object)
    XDescriptorProvider.HasDescriptor(Object)
    XDescriptorProvider.Descriptor(Object)
    XDescriptorProvider.Descriptor<TDescriptor>(Object)
    XDescriptorProvider.Description(Object)
    XDescriptorProvider.Description<TDescription>(Object)
    Cloning.Clone(Object, ICloner, Boolean)
    Cloning.Clone<T>(T, ICloner, Boolean)
    Cloning.CloneViaFakeSerialization(Object)
    Cloning.CloneViaFakeSerialization<T>(T)
    ConversionUtility.IsConvertibleTo(Object, Type, Boolean)
    ConversionUtility.IsConvertibleTo<T>(Object, Boolean)
    ConversionUtility.ConvertTo(Object, Type)
    ConversionUtility.ConvertTo<T>(Object)
    TypeUtility.ToShortString(Object, Int32)
    Serialization.CloneViaSerialization<T>(T, Boolean)
    Serialization.CloneViaSerializationInto<TSource, TDestination>(TSource, ref TDestination, Boolean)
    Serialization.Serialize(Object, Boolean)
    LinqUtility.Yield<T>(T)
    UnityObjectUtility.IsUnityNull(Object)
    UnityObjectUtility.ToSafeString(Object)
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023