You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When "Entity" is added to "GameWord", the "Component" of "Entity" is initialized once.
Because some components need to add "Entity" to "GameWord" before they can be fully initialized.
For example:
When "Entity" is added to "GameWord", the "Component" of "Entity" is initialized once.
Because some components need to add "Entity" to "GameWord" before they can be fully initialized.
For example:
This causes "NullPointException", because "colladables" requires "GameWord",but it is obvious that "Entity" has not been added to "GameWord" now.
The following code can solve the problem, but I prefer "component" to complete the whole function, which can reduce the coupling.
The text was updated successfully, but these errors were encountered: