-
Notifications
You must be signed in to change notification settings - Fork 23
Data Nodes
Dizy edited this page Apr 30, 2020
·
13 revisions
The Data Reader use reflection to fetch all fields and properties from your AI component.
public class CubeAI : ReflexityAI {
// External References
[HideInInspector] public CubeEntity CubeEntity;
public List<CubeEntity> OthersCubeEntities => GameManager.CubeEntities;
private void Awake() {
CubeEntity = GetComponent<CubeEntity>();
}
}
The Data Selector can be used to select sub data into fields or properties selected from a data reader or from another data selector.
The Data Iterator can be used to iterate other data list. It must be connected to an option node using the Linked Option port. Each element thus creates a new option and the corresponding data can be used like a selector output.