Class PrefabModification
Class that contains a prefab modification.
Inherited Members
Namespace: Evergine.Framework.Assets.AssetSources.Entities
Assembly: Evergine.Framework.dll
Syntax
public abstract class PrefabModification
Fields
Name
The property name.
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)
Create 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 PreafbModification object. |