19 lines
711 B
C#
19 lines
711 B
C#
using TMPro;
|
|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
|
|
namespace Jovian.EncounterSystem {
|
|
/// <summary>
|
|
/// Scene-side view scaffold for presenting an encounter. Provides wired-up references to the
|
|
/// common UI widgets (name/description/art/options container/submit button) so a game-specific
|
|
/// view controller can bind an <see cref="IEncounter"/> to them without duplicating boilerplate.
|
|
/// </summary>
|
|
public class EncounterReference : MonoBehaviour {
|
|
public TextMeshProUGUI encounterName;
|
|
public TextMeshProUGUI encounterDescription;
|
|
public Image encounterArt;
|
|
public Transform encounterOptionsContainer;
|
|
public Button submitButton;
|
|
}
|
|
}
|