Sonolus Wiki

Entity Data

Entity Data block is used as generic data storage.

Identifier

const EntityDataId = 4000

Values

IndexInitial ValueDescription
0-31?Generic data

Values are initially set to all 0, and entity.data will be injected according to archetype.data.

Access

CallbackReadWrite
preprocess
render

Remarks

Entity Data is simply a view into Entity Data Array.