I have class
public class PlayerJSON
{
public string name;
public List<PointJSON> playerSpawnPoints;
public List<PointJSON> enemySpawnPoints;
}
I used method JsonUtility.ToJson()
convert to JSON string but it just convert string name. With list object can't work.
Comments
Post a Comment