using UnityEngine; namespace Levels { /// /// ScriptableObject holding data for a level switch (scene name, description, icon). /// [CreateAssetMenu(fileName = "LevelSwitchData", menuName = "AppleHills/Items & Puzzles/Level Switch Data")] public class LevelSwitchData : ScriptableObject { /// /// The name of the target scene to switch to. /// public string targetLevelSceneName; /// /// The name of the minigame scene to switch to. /// public string targetMinigameSceneName; /// /// Description of the level switch. /// [TextArea] public string description; /// /// Icon to display for this level switch. /// public Sprite mapSprite; /// /// Icon to display for this level switch. /// public Sprite menuSprite; } }