Class RuntimePrefabPropertyOverride<TOverrideValue>
Inheritance
RuntimePrefabPropertyOverride<TOverrideValue>
Syntax
[Serializable]
public class RuntimePrefabPropertyOverride<TOverrideValue> : RuntimePrefabPropertyOverride
Type Parameters
| Name |
Description |
| TOverrideValue |
|
Constructors
RuntimePrefabPropertyOverride()
Declaration
public RuntimePrefabPropertyOverride()
RuntimePrefabPropertyOverride(String, String, Int32, TOverrideValue)
Declaration
public RuntimePrefabPropertyOverride(string propertyPath, string transformPath, int componentIndex, TOverrideValue value)
Parameters
| Type |
Name |
Description |
| String |
propertyPath |
|
| String |
transformPath |
|
| Int32 |
componentIndex |
|
| TOverrideValue |
value |
|
Fields
m_Value
Declaration
[SerializeField]
protected TOverrideValue m_Value
Field Value
| Type |
Description |
| TOverrideValue |
|
Properties
Value
Declaration
public TOverrideValue Value { get; set; }
Property Value
| Type |
Description |
| TOverrideValue |
|
Methods
ApplyOverrideToTarget(Object)
Declaration
protected override void ApplyOverrideToTarget(Object target)
Parameters
| Type |
Name |
Description |
| Object |
target |
|
Overrides
ChangeType(Object, Type)
Declaration
public static object ChangeType(object value, Type conversionType)
Parameters
| Type |
Name |
Description |
| Object |
value |
|
| Type |
conversionType |
|
Returns
SetProperty<TContainer>(ref TContainer, String)
Declaration
protected void SetProperty<TContainer>(ref TContainer container, string propertyPath)
Parameters
| Type |
Name |
Description |
| TContainer |
container |
|
| String |
propertyPath |
|
Type Parameters
| Name |
Description |
| TContainer |
|