Class OverrideProperty<T>
- Namespace
- nadena.dev.ndmf.multiplatform.components
Properties on PortableDynamicBone inherit their values from the primary platform's configuration if present. This class represents that override.
[Serializable]
public sealed class OverrideProperty<T>
Type Parameters
T
- Inheritance
-
OverrideProperty<T>
- Inherited Members
Properties
Override
True if this property should override the value from the primary platform.
public bool Override { get; set; }
Property Value
Value
public T Value { get; set; }
Property Value
- T
Methods
WeakSet(T)
Sets the value of this property, but only if Override is false.
public void WeakSet(T value)
Parameters
value
T
Operators
implicit operator T(OverrideProperty<T>)
public static implicit operator T(OverrideProperty<T> prop)
Parameters
prop
OverrideProperty<T>
Returns
- T