Hello. Im kinda confused on how should an actor class interact with other actors(i.e: set other’s properties). Should that kind of interaction be made through GameMode?
Like:
Actor1 SetPropertyOn(Actor2)–> GameMode –> Actor2
Or am I missing something?
There are several ways of doing this.
Delegates/ Events, Interfaces, Refrences m.m.
Can you explain what you are trying to achive?
Maybe we can help you better.
But if a actor should do something with a second actor.
e.g: When actor one hits a Acto, then check if it is by second actor type and do somethign if it is.
Hope that makes sense.