Is it correct that you can't disable entities? #2779
Answered
by
Eideren
AlexiyOrlov
asked this question in
Newcomers
-
Like in Unity, you can make a gameobject inactive |
Beta Was this translation helpful? Give feedback.
Answered by
Eideren
May 10, 2025
Replies: 1 comment
-
You can remove an entity from the scene to disable it, if you want to enable it again, you just have to move it back to the scene; MyEntity.Scene = null; // Disable
// ...
MyEntity.Scene = ThisEntity.Scene; // Enable |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
AlexiyOrlov
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can remove an entity from the scene to disable it, if you want to enable it again, you just have to move it back to the scene;