This repository has been archived by the owner on Mar 14, 2022. It is now read-only.
Add way to validate entity a component attaches to #10
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
Currently there's no way to enforce that an entity should be of a specific type when a component attaches to it.
For example, you may want to attach the
Equipped
component only to Roblox Tools. Ideally there'd be an error if you tried to add anEquipped
component to anything but a tool.The text was updated successfully, but these errors were encountered: