public void SquadLeaderRemoved(NodeRemoveEvent e, SquadLeaderNode user) { Debug.Log("SquadSystem.SquadLeaderRemoved " + user.Entity); }
public void EnableLeaderIcon(NodeAddedEvent e, SquadLeaderIconNode squadLeaderIcon, [JoinByUser, Context] SquadLeaderNode squadLeader, [JoinBySquad] ICollection <UserInSquadNode> allTeammates) { squadLeaderIcon.squadLeaderIcon.icon.SetActive(allTeammates.Count > 0); }
public void SquadLeaderAdded(NodeAddedEvent e, [Combine] SquadLeaderNode user, [JoinBySquad] SquadNode squad) { object[] objArray1 = new object[] { "SquadSystem.SquadLeaderAdded ", user.Entity, " ", squad.Entity }; Debug.Log(string.Concat(objArray1)); }
public void DisableLeaderIcon(NodeRemoveEvent e, SquadLeaderNode squadLeader, [JoinByUser] SquadLeaderIconNode squadLeaderIcon) { squadLeaderIcon.squadLeaderIcon.icon.SetActive(false); }