NewQuestionData.cs 739 B

123456789101112131415161718192021222324
  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 Color32 CategoryColor { get; set; }
  10. public bool QuestionSafe {get; set;}
  11. public NewQuestionData(string answer, string question, string categoryName, int categoryId, int id, Color categoryColor, bool questionSafe) {
  12. Answer = answer;
  13. Question = question;
  14. CategoryName = categoryName;
  15. CategoryId = categoryId;
  16. Id = id;
  17. CategoryColor = categoryColor;
  18. QuestionSafe = questionSafe;
  19. }
  20. }