Interface IUnityObjectReferenceValueProperty<TContainer>
Provides access to unity object properties
Namespace: Unity.RuntimeSceneSerialization
Syntax
public interface IUnityObjectReferenceValueProperty<TContainer>
Type Parameters
| Name | Description |
|---|---|
| TContainer |
Properties
OriginalValueType
The original type of UnityObject, which is hidden by UnityObjectReference
Declaration
Type OriginalValueType { get; }
Property Value
| Type | Description |
|---|---|
| Type |
Methods
GetMemberValue(ref TContainer)
Get the value directly without going through UnityObjectReference
Declaration
Object GetMemberValue(ref TContainer container)
Parameters
| Type | Name | Description |
|---|---|---|
| TContainer | container | The container object on from which the property will be accessed |
Returns
| Type | Description |
|---|---|
| Object | The property value |
SetMemberValue(ref TContainer, Object)
Set the value directly without going through UnityObjectReference
Declaration
void SetMemberValue(ref TContainer container, Object value)
Parameters
| Type | Name | Description |
|---|---|---|
| TContainer | container | The container object on which the property will be set |
| Object | value | The value to set |