Class SerializedComponent.ComponentInfo | Asset Graph | 1.6.0-preview
docs.unity3d.com
    Show / Hide Table of Contents

    Class SerializedComponent.ComponentInfo

    Inheritance
    Object
    SerializedComponent.ComponentInfo
    Namespace: UnityEngine.AssetGraph
    Syntax
    [Serializable]
    public class ComponentInfo

    Constructors

    ComponentInfo(Type, Component)

    Declaration
    public ComponentInfo(Type t, Component c)
    Parameters
    Type Name Description
    Type t
    Component c

    ComponentInfo(SerializedComponent.ComponentInfo)

    Declaration
    public ComponentInfo(SerializedComponent.ComponentInfo info)
    Parameters
    Type Name Description
    SerializedComponent.ComponentInfo info

    Properties

    Component

    Declaration
    public Component Component { get; }
    Property Value
    Type Description
    Component

    ComponentType

    Declaration
    public Type ComponentType { get; }
    Property Value
    Type Description
    Type

    Data

    Declaration
    public string Data { get; }
    Property Value
    Type Description
    String

    Editor

    Declaration
    public Editor Editor { get; }
    Property Value
    Type Description
    Editor

    Methods

    DrawDefaultInspector()

    Declaration
    public void DrawDefaultInspector()

    DrawHeader(SerializedComponent)

    Declaration
    public void DrawHeader(SerializedComponent parent)
    Parameters
    Type Name Description
    SerializedComponent parent

    Invalidate(Boolean)

    Declaration
    public void Invalidate(bool destroyComponent)
    Parameters
    Type Name Description
    Boolean destroyComponent

    OnInspectorGUI(SerializedComponent)

    Declaration
    public void OnInspectorGUI(SerializedComponent parent)
    Parameters
    Type Name Description
    SerializedComponent parent

    Restore(GameObject)

    Declaration
    public void Restore(GameObject o)
    Parameters
    Type Name Description
    GameObject o

    Save()

    Declaration
    public void Save()
    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