Godot Version
4.3
Question
So I have two teams, each have 11 players. On each player I want to keep a reference to its team, so I can send information to it (for example: I have to let the team know which player is selected right now). Basically I need communication going back and forth between the team and its players.
Coming from C++ I think of just keeping a reference to the team on each player: Team* referenceToTeam;
But I can’t get my head around how to do it on GDScript and even if it’s the right way of doing it.