![An inspector containing a ValueField<int> and ReferenceField<Slot>.](/images/thumb/a/ac/Inspector_With_ValueField_And_ReferenceField.webp/300px-Inspector_With_ValueField_And_ReferenceField.webp.png)
persistent
, UpdateOrder
, Enabled
, and Value
fields are of type Sync<T>, which implements IField. Reference
is a SyncRef<Slot>, which is an IField<RefID>.The IField<T> type is an Interface Type that designates the object it is applied to as something that is a field of type T
. This includes anything that is exposed within the Scene Inspector UI.
In addition to every feature that IValue implements, this type makes things implementing it:
- Have the ability to be driven.
- Synced by default, requiring a drive to become local.
Like IValue, the T
type for IFields must be a Value Type.
Interfaces Implemented
Types Implementing IField
- Type:SyncField`1
- Notably, Type:SyncRef`1 is actually a
SyncField<RefID>
, meaning it is also anIField<RefID>
.
- Notably, Type:SyncRef`1 is actually a