Getting a list of the entities or a single entity performing operations on them (on it) #2453
Unanswered
morenostef
asked this question in
Newcomers
Replies: 1 comment
-
|
I'm a little unclear on the question but if I understand correctly, you need to find an entity by name and then do operations with it like moving it or calling one of the methods of a component, right? If that's the case, it usually goes like:
Let me know if this helped or if you got more questions. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi I need to execute operations on operations on an entity.
with this piece of code below i can read data but i can't modify anything because there is foreach
foreach (Entity ent in Entity.EntityManager) // lista di tutte le entità
{
Log.Warning(ent.Name);
}
Is there a way to locate an entity by name directly or with a for loop to change the position or other data of that entity?
Beta Was this translation helpful? Give feedback.
All reactions