[Puzzles] Add basic framework for ScriptableObject puzzle steps and puzzle solving.

This commit is contained in:
Michal Pikulski
2025-09-03 15:43:47 +02:00
parent d8f792c8e5
commit 93242b2702
30 changed files with 1039 additions and 169 deletions

View File

@@ -0,0 +1,14 @@
using UnityEngine;
using System.Collections.Generic;
[CreateAssetMenu(fileName = "PuzzleStepSO", menuName = "Puzzle/Step")]
public class PuzzleStepSO : ScriptableObject
{
public string stepId;
public string displayName;
[TextArea]
public string description;
public Sprite icon;
[Header("Unlocks")]
public List<PuzzleStepSO> unlocks = new List<PuzzleStepSO>();
}