- 最新
- 最多得票
- 最多評論
Hello @REDACTEDUSER
I see what you are attempting to do. By calling these EBus methods you would get the Activate() and Deactivate() methods called on GameEntityContextComponent.cpp which doesn't really do much other than connect and disconnect to some buses and resets the AssetCatalog.
To be able to disable and enable entities and their associated components in 1.8, we recommend using the SimpleStateComponent. The SimpleStateComponent allows you to define several states and allows you to assign entities to those states. When a state is enabled all of the entities and the components for each entity is activated, conversely when a state is disabled all of the entities in that state and their components will be deactivated.
Let us know if that helps!
Thanks!
I come here to help, but there isn't enough data to make a focused answer.
I believe he have to post his script then it will be way more clear to understand why it doesn't work.
此貼文已關閉:已停用新增新答案、評論和投票功能。
相關內容
- AWS 官方已更新 2 年前