EstructData.cs 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. using UnityEngine.UI;
  5. namespace EditorDataGame
  6. {
  7. public class EstructData
  8. {
  9. [System.Serializable]
  10. public class ChapterStruct
  11. {
  12. public ScrollRect scrollRectChapters;
  13. public GameObject prefabChapters;
  14. public Button butAddChapters;
  15. public Button butDelChapter;
  16. }
  17. [System.Serializable]
  18. public class ActionStruct
  19. {
  20. [Header("Find")]
  21. public GameObject objectAction;
  22. public ScrollRect scrollRectActions;
  23. public GameObject prefabActions;
  24. public Image imageContainerActions;
  25. [Header("Add")]
  26. public GameObject objectAdd;
  27. [Header("Add Or Find Action")]
  28. public AddOrFindStruct action;
  29. public GameObject objectModifyAction;
  30. public Dropdown dropTypeAct;
  31. public Dropdown dropIdAct;
  32. public Button butSaveAct;
  33. public Button butDeleteAct;
  34. }
  35. [System.Serializable]
  36. public class QuestStruct
  37. {
  38. public GameObject objectQuest;
  39. public InputField idQuest;
  40. public Button butSaveQuest;
  41. public Button butDelQue;
  42. public CurrencyStruct inputFieldReward;
  43. [Header("Add or Find")]
  44. public Button addOrFindQue;
  45. public Button butAddQue;
  46. public Dropdown dropFindQue;
  47. public Button butFindQue;
  48. }
  49. [System.Serializable]
  50. public class TaskStruct
  51. {
  52. public Dropdown dropdownTask;
  53. public InputField inputFieldTaskDescrition;
  54. public Dropdown dropdownTaskAction;
  55. public InputField inputFieldTaskIdAction;
  56. public Dropdown dropTaskIdAction;
  57. public InputField inputFieldTaskDuration;
  58. public Button butAddTask;
  59. public Button butSaveTask;
  60. public Button butDelTask;
  61. }
  62. [System.Serializable]
  63. public class ConversationStruct
  64. {
  65. public GameObject objectConversation;
  66. public InputField inputIdConv;
  67. public Dropdown location;
  68. public Dropdown convType;
  69. public Button saveConv;
  70. public Button butDelConv;
  71. public Button saveDialog;
  72. public Button butAddDialog;
  73. [Header("NPCs")]
  74. public Dropdown dropNpcs;
  75. public Dropdown dropIdNpc;
  76. public Button butDelNpc;
  77. public Button butSaveNpc;
  78. public Button butAddNpc;
  79. [Header("DIALOGS")]
  80. public GameObject objectDialog;
  81. public Dropdown dialogs;
  82. public InputField dialog;
  83. public InputField animationId;
  84. public InputField soundId;
  85. public Dropdown npcId;
  86. public Button butAddReplay;
  87. public Button butDelDia;
  88. [Header("REPLAYS")]
  89. public GameObject objectReplay;
  90. public Dropdown replays;
  91. public InputField replay;
  92. public InputField nextDialog;
  93. public Dropdown startAction;
  94. public InputField actionId;
  95. public InputField tweetId;
  96. public CurrencyStruct reward;
  97. public CurrencyStruct cost;
  98. public Button butDelReplay;
  99. [Header("Add or Find Conv")]
  100. public AddOrFindStruct addOrFind;
  101. }
  102. [System.Serializable]
  103. public class CurrencyStruct
  104. {
  105. public InputField inputFieldRewGlam;
  106. public InputField inputFieldRewExp;
  107. public InputField inputFieldRewDollars;
  108. public InputField inputFieldRewMot;
  109. public InputField inputFieldRewLevel;
  110. }
  111. [System.Serializable]
  112. public class GigStruct
  113. {
  114. public GameObject objectGig;
  115. public InputField textId;
  116. public InputField inputDuration;
  117. public Dropdown dropLocation;
  118. public Dropdown dropConversation;
  119. public Dropdown dropType;
  120. public InputField inputStartNeeded;
  121. public InputField inputDescription;
  122. public Button butSaveGig;
  123. public Button butDelGig;
  124. public Button butModifGig;
  125. [Header("PANEL - GIGS")]
  126. public GameObject panelGigs;
  127. public Text textGigCouns;
  128. public Text textGig;
  129. public Button addOrFindGig;
  130. public Button butAddGig;
  131. public ScrollRect scrollRectGigs;
  132. public GameObject prefabGigs;
  133. [Header("Actions")]
  134. public Dropdown dropActions;
  135. public InputField idAction;
  136. public InputField inputEnergyCost;
  137. public InputField inputStars;
  138. public Dropdown dropTag;
  139. public GameObject objectContAction;
  140. public Button butAddAct;
  141. public Button butSaveAct;
  142. public Button butDelAct;
  143. [Header("Currencys")]
  144. public CurrencyStruct currency;
  145. [Header("Followers")]
  146. public InputField follow1;
  147. public InputField follow2;
  148. public InputField follow3;
  149. }
  150. [System.Serializable]
  151. public class AssitancesStruct
  152. {
  153. public GameObject objectAssis;
  154. public InputField idAssis;
  155. public Dropdown dropLocation;
  156. public Button butSaveAssis;
  157. public Button butDelAssis;
  158. [Header("Add or Find")]
  159. public Button addOrFindAssis;
  160. public Button butAddAssis;
  161. public Dropdown dropFindAssis;
  162. public Button butFindAssis;
  163. [Header("Instructions")]
  164. public Dropdown dropInstructions;
  165. public Dropdown dropConversation;
  166. public Dropdown dropActions;
  167. public InputField idAction;
  168. public InputField inputEnergyCost;
  169. public InputField inputStars;
  170. public Dropdown dropTag;
  171. public GameObject objectContInst;
  172. public GameObject objectContAct;
  173. public Button butAddInst;
  174. public Button butSaveInst;
  175. public Button butDelInst;
  176. public Button butAddAct;
  177. public Button butSaveAct;
  178. public Button butDelAct;
  179. public CurrencyStruct currency;
  180. }
  181. [System.Serializable]
  182. public class AddOrFindStruct
  183. {
  184. public Button butAddOrFind;
  185. public GameObject objectActive;
  186. public Button butAdd;
  187. public Dropdown dropAdd;
  188. public Button butFind;
  189. public Dropdown dropFind;
  190. public Toggle toggle;
  191. }
  192. [System.Serializable]
  193. public class LookBookStruct
  194. {
  195. public Button butFindLookB;
  196. public Dropdown dropLookB;
  197. public GameObject objectFind;
  198. public Text titleFind;
  199. public Dropdown dropFind;
  200. public Button butFind;
  201. public Button butAdd;
  202. public GameObject objectModify;
  203. public Text titleModify;
  204. public InputField inputId;
  205. public CurrencyStruct currencies;
  206. public Button butSave;
  207. public Button butDel;
  208. }
  209. public enum LookBookCategorys {Backgrounds, Poses, Stickers, Npcs, Walks }
  210. [System.Serializable]
  211. public class TweetStruct
  212. {
  213. public GameObject objectTweet;
  214. public InputField inputId;
  215. public Dropdown dropSenderId;
  216. public InputField inputNum;
  217. public InputField inputTweet;
  218. public InputField inputType;
  219. public InputField inputTypeIndex;
  220. public InputField inputhashTag;
  221. public Button butSave;
  222. public Button butDel;
  223. public AddOrFindStruct addOrFind;
  224. }
  225. }
  226. }