Class RuntimePrefabPropertyOverride
Inheritance
RuntimePrefabPropertyOverride
Syntax
[Serializable]
public abstract class RuntimePrefabPropertyOverride
Constructors
RuntimePrefabPropertyOverride()
Declaration
protected RuntimePrefabPropertyOverride()
RuntimePrefabPropertyOverride(String, String, Int32)
Declaration
protected RuntimePrefabPropertyOverride(string propertyPath, string transformPath, int componentIndex = -1)
Parameters
Fields
m_ComponentIndex
Declaration
[SerializeField]
protected int m_ComponentIndex
Field Value
m_PropertyPath
Declaration
[SerializeField]
protected string m_PropertyPath
Field Value
Declaration
[SerializeField]
protected string m_TransformPath
Field Value
Properties
ComponentIndex
Declaration
public int ComponentIndex { get; }
Property Value
PropertyPath
Declaration
public string PropertyPath { get; }
Property Value
Declaration
public string TransformPath { get; }
Property Value
Methods
Declaration
public void ApplyOverride(Transform root)
Parameters
ApplyOverrideToTarget(Object)
Declaration
protected abstract void ApplyOverrideToTarget(Object target)
Parameters
| Type |
Name |
Description |
| Object |
target |
|
Create<TValue>(String, String, Int32, TValue)
Declaration
public static RuntimePrefabPropertyOverride Create<TValue>(string propertyPath, string transformPath, int componentIndex, TValue value)
Parameters
| Type |
Name |
Description |
| String |
propertyPath |
|
| String |
transformPath |
|
| Int32 |
componentIndex |
|
| TValue |
value |
|
Returns
Type Parameters
Update<TValue>(RuntimePrefabPropertyOverride, TValue)
Declaration
public static void Update<TValue>(RuntimePrefabPropertyOverride override, TValue value)
Parameters
Type Parameters