GlobalConfig.cs 499 B

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