Sending Generic List to All Players using RPC

Hi, I have a generic list of players as shown in the code below:

public class TeamMember
public string memberName;
public int memberScore;

public class Team
public List teamMembers;

Now I want to send the above list "teamMembers" to all players at certain points using RPC. How can I do that? Do I have to perform the conversion of List into some other type? Because I'm trying to do it simply by passing List into RPC but it gives some kind of error. I read it somewhere on the forum that Lists are not supported in the RPC functions

Any help would be appreciated. Thank you!
Sign In or Register to comment.