Concord
Concord copied to clipboard
Retrieve all components example incorrect
This example should say:
-- Retrieve all Components
-- WARNING: Do not modify this table. It is read-only
local allComponents = myEntity:getComponents()
for ComponentClass, Component in pairs(allComponents) do
-- Do stuff
end
The 'ipairs' should say 'pairs'