using System.Collections.Generic; using UnityEngine; [System.Serializable] public class Room { public string code; public List questions; public List players; public int currentQuestion; public double creationDate; public Room(string _code) { this.code = _code; this.creationDate = System.DateTime.Now.ToOADate(); this.players = new List(); this.questions = new List(); this.currentQuestion = 0; } }