EncyclopediaArticle.cs 700 B

1234567891011121314151617
  1. using System;
  2. using System.Collections;
  3. using System.Collections.Generic;
  4. using UnityEngine;
  5. using Sirenix.OdinInspector;
  6. [System.Serializable]
  7. public class EncyclopediaArticle
  8. {
  9. public Dictionary<string,string> content = new Dictionary<string, string>();
  10. public Dictionary<string,Sprite> images = new Dictionary<string, Sprite>();
  11. public Dictionary<string,int> integers = new Dictionary<string, int>();
  12. public Dictionary<string, float> floats = new Dictionary<string, float>();
  13. public Dictionary<string, bool> booleans = new Dictionary<string, bool>();
  14. public Dictionary<string, Func<EncyclopediaArticle>> functions = new Dictionary<string, Func<EncyclopediaArticle>>();
  15. }