puzzlestep_indicators (#14)
Co-authored-by: Michal Pikulski <michal.a.pikulski@gmail.com> Reviewed-on: #14
This commit is contained in:
@@ -29,4 +29,19 @@ public class PuzzleStepSO : ScriptableObject
|
||||
/// </summary>
|
||||
[Header("Unlocks")]
|
||||
public List<PuzzleStepSO> unlocks = new List<PuzzleStepSO>();
|
||||
|
||||
[Header("Interaction Settings")]
|
||||
[Tooltip("Whether to show an indicator when this step is unlocked")]
|
||||
[SerializeField] private bool showIndicator = false;
|
||||
|
||||
/// <summary>
|
||||
/// Whether to show an indicator when this step is unlocked.
|
||||
/// </summary>
|
||||
public bool ShowIndicator => showIndicator;
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets whether to show an indicator.
|
||||
/// </summary>
|
||||
public bool GetShowIndicator() => showIndicator;
|
||||
public void SetShowIndicator(bool value) => showIndicator = value;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user