Files
AppleHillsProduction/Assets/Scripts/PuzzleS/IPuzzlePrompt.cs

42 lines
1.1 KiB
C#
Raw Normal View History

2025-10-01 14:35:17 +02:00
using System;
namespace PuzzleS
{
/// <summary>
/// Interface for proximity-based puzzle prompts that can show far/close indicators
/// based on player distance.
/// </summary>
public interface IPuzzlePrompt
{
2025-10-02 07:41:27 +02:00
/// <summary>
/// Called when the prompt should be initially shown (e.g., when step is unlocked)
/// </summary>
void OnShow();
/// <summary>
/// Called when the prompt should be hidden (e.g., when step is locked)
/// </summary>
void OnHide();
2025-10-01 14:35:17 +02:00
/// <summary>
/// Called when the player enters the outer range of the prompt.
/// </summary>
void ShowFar();
/// <summary>
/// Called when the player enters the inner range of the prompt.
/// </summary>
void ShowClose();
/// <summary>
/// Called when the player exits the inner range of the prompt.
/// </summary>
void HideClose();
/// <summary>
/// Called when the player exits the outer range of the prompt.
/// </summary>
void HideFar();
}
}