NewQuestionData.cs 640 B

123456789101112131415161718192021
  1. using System.Collections;
  2. using UnityEngine;
  3. public class NewQuestionData {
  4. public string Answer { get; set; }
  5. public string Question { get; set; }
  6. public string CategoryName { get; set; }
  7. public int CategoryId { get; set; }
  8. public int Id { get; set; }
  9. public Color CategoryColor { get; set; }
  10. public NewQuestionData(string answer, string question, string categoryName, int categoryId, int id, Color categoryColor) {
  11. Answer = answer;
  12. Question = question;
  13. CategoryName = categoryName;
  14. CategoryId = categoryId;
  15. Id = id;
  16. CategoryColor = categoryColor;
  17. }
  18. }