Class RuntimePrefabPropertyOverride<TOverrideValue> | Unity Runtime Scene Serialization | 0.1.4-preview
docs.unity3d.com
    Show / Hide Table of Contents

    Class RuntimePrefabPropertyOverride<TOverrideValue>

    Inheritance
    Object
    RuntimePrefabPropertyOverride
    RuntimePrefabPropertyOverride<TOverrideValue>
    RuntimePrefabOverrideAnimationCurve
    RuntimePrefabOverrideBool
    RuntimePrefabOverrideChar
    RuntimePrefabOverrideFloat
    RuntimePrefabOverrideInt
    RuntimePrefabOverrideLong
    RuntimePrefabOverrideString
    RuntimePrefabOverrideUnityObject
    RuntimePrefabOverrideUnityObjectReference
    Inherited Members
    RuntimePrefabPropertyOverride.m_PropertyPath
    RuntimePrefabPropertyOverride.m_TransformPath
    RuntimePrefabPropertyOverride.m_ComponentIndex
    RuntimePrefabPropertyOverride.PropertyPath
    RuntimePrefabPropertyOverride.TransformPath
    RuntimePrefabPropertyOverride.ComponentIndex
    RuntimePrefabPropertyOverride.ApplyOverride(Transform)
    RuntimePrefabPropertyOverride.Create<TValue>(String, String, Int32, TValue)
    RuntimePrefabPropertyOverride.Update<TValue>(RuntimePrefabPropertyOverride, TValue)
    Namespace: Unity.RuntimeSceneSerialization.Prefabs
    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
    RuntimePrefabPropertyOverride.ApplyOverrideToTarget(Object)

    ChangeType(Object, Type)

    Declaration
    public static object ChangeType(object value, Type conversionType)
    Parameters
    Type Name Description
    Object value
    Type conversionType
    Returns
    Type Description
    Object

    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
    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