GlobalConfig.cs 478 B

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