Added the system from trail
This commit is contained in:
18
Runtime/EncounterReference.cs
Normal file
18
Runtime/EncounterReference.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user