Search Results for

    Show / Hide Table of Contents

    Class PrefabModification

    Class that contains a prefab modification.

    Inheritance
    object
    PrefabModification
    PrefabModification<T>
    Namespace: Evergine.Framework.Assets.AssetSources.Entities
    Assembly: Evergine.Framework.dll
    Syntax
    public abstract class PrefabModification

    Fields

    Name

    The name of the property.

    Declaration
    public string Name
    Field Value
    Type Description
    string

    Target

    The target component.

    Declaration
    public Guid Target
    Field Value
    Type Description
    Guid

    Properties

    Value

    Gets or sets the property value.

    Declaration
    public abstract object Value { get; set; }
    Property Value
    Type Description
    object

    Methods

    CreateModification(string, Guid, Type, object)

    Creates a prefab modification.

    Declaration
    public static PrefabModification CreateModification(string name, Guid target, Type type, object modifiedValue)
    Parameters
    Type Name Description
    string name

    The name of the property or field.

    Guid target

    The target ID of the element.

    Type type

    The type of the parameter.

    object modifiedValue

    The modified value.

    Returns
    Type Description
    PrefabModification

    The new generic PrefabModification object.

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In this article
    Back to top
    Generated by DocFX