docs.unity3d.com
    Show / Hide Table of Contents

    Class fsAotCompilationManager

    The AOT compilation manager

    Inheritance
    Object
    fsAotCompilationManager
    Namespace: Unity.VisualScripting.FullSerializer
    Syntax
    public class fsAotCompilationManager

    Properties

    AvailableAotCompilations

    Ahead of time compilations that are available. The type maps to the object type the generated converter will serialize/deserialize, and the string is the text content for a converter that will do the serialization.

    The generated serializer is completely independent and you don't need to do anything. Simply add the file to your project and it'll get used instead of the reflection based one.

    Declaration
    public static Dictionary<Type, string> AvailableAotCompilations { get; }
    Property Value
    Type Description
    Dictionary<Type, String>

    Methods

    AddAotCompilation(Type, fsMetaProperty[], Boolean)

    Adds a new AOT compilation unit.

    Declaration
    public static void AddAotCompilation(Type type, fsMetaProperty[] members, bool isConstructorPublic)
    Parameters
    Type Name Description
    Type type

    The type of object we are AOT compiling.

    fsMetaProperty[] members

    The members on the object which will be serialized/deserialized.

    Boolean isConstructorPublic

    TryToPerformAotCompilation(fsConfig, Type, out String)

    This is a helper method that makes it simple to run an AOT compilation on the given type.

    Declaration
    public static bool TryToPerformAotCompilation(fsConfig config, Type type, out string aotCompiledClassInCSharp)
    Parameters
    Type Name Description
    fsConfig config

    The configuration to use when running AOT compilation.

    Type type

    The type to perform the AOT compilation on.

    String aotCompiledClassInCSharp

    The AOT class. Add this C# code to your project.

    Returns
    Type Description
    Boolean

    True if AOT compilation was successful.

    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