[Puzzles] Add basic framework for ScriptableObject puzzle steps and puzzle solving.
This commit is contained in:
14
Assets/Scripts/PuzzleStepSO.cs
Normal file
14
Assets/Scripts/PuzzleStepSO.cs
Normal 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>();
|
||||
}
|
||||
Reference in New Issue
Block a user