Struct Watcher
One watcher identifies the watched entity and field. It also provides a reference to the WatchersSystem and its id inside that system.
Namespace: Unity.Tiny.Watchers
Syntax
public struct Watcher
Fields
field
Declaration
public TypeManager.FieldInfo field
Field Value
Type | Description |
---|---|
TypeManager.FieldInfo |
id
Declaration
public int id
Field Value
Type | Description |
---|---|
System.Int32 |
system
Declaration
public WatchersSystem system
Field Value
Type | Description |
---|---|
WatchersSystem |
watchedEntity
Declaration
public Entity watchedEntity
Field Value
Type | Description |
---|---|
Entity |