Entitas icon indicating copy to clipboard operation
Entitas copied to clipboard

How to get all group in some context, without reflection。

Open Ecstasyzzz opened this issue 2 years ago • 1 comments

How to get all group in some context ? i just want make sue to clear all group and call group.RemoveAllEventHandlers. for now, can only use reflection ?

Ecstasyzzz avatar Nov 21 '23 09:11 Ecstasyzzz

Hey, thanks for asking the question. As of now this is not possible to do easily. But may I ask why you would want to do that? The list of groups is intentionally hidden and can only be changed from inside the context so that it can't be tampered with from the outside.

Ants-Aare avatar Aug 24 '24 09:08 Ants-Aare