GlobalConfig.cs 535 B

12345678910111213141516171819202122232425262728
  1. using UnityEditor.Compilation;
  2. using UnityEngine;
  3. using UnityEngine.Serialization;
  4. namespace ET
  5. {
  6. public enum CodeMode
  7. {
  8. Client = 1,
  9. Server = 2,
  10. ClientServer = 3,
  11. }
  12. public enum BuildType
  13. {
  14. None,
  15. Debug,
  16. Release,
  17. }
  18. [CreateAssetMenu(menuName = "ET/CreateGlobalConfig", fileName = "GlobalConfig", order = 0)]
  19. public class GlobalConfig: ScriptableObject
  20. {
  21. public CodeMode CodeMode;
  22. public BuildType BuildType;
  23. }
  24. }