using System.Collections; using UnityEngine; public class NewQuestionData { public string Answer { get; set; } public string Question { get; set; } public string CategoryName { get; set; } public int CategoryId { get; set; } public int Id { get; set; } public Color CategoryColor { get; set; } public NewQuestionData(string answer, string question, string categoryName, int categoryId, int id, Color categoryColor) { Answer = answer; Question = question; CategoryName = categoryName; CategoryId = categoryId; Id = id; CategoryColor = categoryColor; } }