MapConfigSO.cs 331 B

123456789101112131415
  1. using System.Collections.Generic;
  2. using UnityEngine;
  3. [CreateAssetMenu(fileName = "MapConfigSO", menuName = "Map/MapConfigSO")]
  4. public class MapConfigSO : ScriptableObject
  5. {
  6. public List<RoomBlueprint> roomBlueprints;
  7. }
  8. [System.Serializable]
  9. public class RoomBlueprint
  10. {
  11. public int min, max;
  12. public RoonType roonType;
  13. }