The base class for serialized property and media query
| C# | Visual Basic | Visual C++ |
[SerializableAttribute] public class NameValueBase : IEquatable<NameValueBase>
<SerializableAttribute> _ Public Class NameValueBase _ Implements IEquatable(Of NameValueBase)
[SerializableAttribute] public ref class NameValueBase : IEquatable<NameValueBase^>
| All Members | Constructors | Methods | Properties | Fields | |
| Icon | Member | Description |
|---|---|---|
| NameValueBase()()()() | Initializes a new instance of the NameValueBase class | |
| AnimationCurve | ||
| Bool | ||
| Bounds | ||
| Char | ||
| Color | ||
| CreateProperty<(Of <<'(T>)>>)(String, Type) |
Creates a new style property, taking care of setting up the appropriate type switch
| |
| Enum | ||
| Equality(NameValueBase, NameValueBase) | ||
| Equals(NameValueBase) | ||
| Equals(Object) | (Overrides Object.Equals(Object).) | |
| Finalize()()()() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| Float | ||
| GetHashCode()()()() | (Overrides Object.GetHashCode()()()().) | |
| GetSlotName(SerializedType) |
Values are pushed to slots (properties of this object) depending of the type This method is used for determining the slot to write to/read from | |
| GetType()()()() | Gets the type of the current instance. (Inherited from Object.) | |
| Gradient | ||
| Inequality(NameValueBase, NameValueBase) | ||
| Int | ||
| LayerMask | ||
| MemberwiseClone()()()() | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Name |
Media query identifier
| |
| ObjectReference |
UnityEngine.Object
| |
| Quaternion | ||
| Rect | ||
| SerializedType |
Serialized type switch Switching to a specified slot for getting/setting a value | |
| String | ||
| ToString()()()() | (Overrides Object.ToString()()()().) | |
| Type |
Full type name
| |
| Value |
Depending of a serialized type switch, the setter saves the value to the specified field (called slot) Also, getter gets the value from the specified slot | |
| Vector2 | ||
| Vector3 |
| Object | ||
| NameValueBase | ||
| MediaQuery | ||
| StyleProperty | ||