| 1234567891011121314151617181920212223242526272829 |
- using TMPro;
- using UnityEngine;
- using UnityEngine.UI;
- namespace Olympus
- {
- // Authored, serialized uGUI controls. Runtime code only binds data and callbacks.
- public sealed class ReferenceAView : MonoBehaviour
- {
- public bool trial;
- public TextMeshProUGUI playerName, balance, timer, round, heading, clue;
- public Image playerAvatar, question, timerFill, feedbackPanel;
- public Image[] rivalAvatars;
- public TextMeshProUGUI[] rivalScores, inventory;
- public Button[] realmButtons, itemButtons, letterButtons;
- public RectTransform letterPool, easel, answerRow;
- public TextMeshProUGUI answerText;
- public RevealGraphic reveal;
- public GameObject checkinDot;
- public ScoreFloat[] rivalGains;
- public TextMeshProUGUI[] leaderboardNames, leaderboardScores, leaderboardRanks;
- public Image[] leaderboardAvatars;
- public Button FindButton(string key)
- {
- foreach(var b in GetComponentsInChildren<Button>(true))if(b.name==key)return b;
- return null;
- }
- }
- }
|