using UnityEngine;
using UnityEngine.UIElements;
///
/// class that handles the side view ui
///
public class SideViewUI : MonoBehaviour
{
///
/// settings button for showing the settings menu
///
private Button _accountButton;
///
/// text label for showing the player's stable-ish chroma accuracy
///
private Label _chromaAccuracyText;
///
/// text label for showing the player's stable-ish hue accuracy
///
private Label _hueAccuracyText;
///
/// leaderboard button for showing the leaderboard
///
private Button _leaderboardButton;
///
/// text label for showing the player's stable-ish lightness accuracy
///
private Label _lightnessAccuracyText;
///
/// play button for starting the game
///
private Button _playButton;
///
/// text label for showing the player's known name
///
private Label _playerText;
///
/// text label for showing the player's rating
///
private Label _ratingText;
///
/// initialise the ui elements and register the button click event functions
///
private void OnEnable()
{
var ui = GetComponent().rootVisualElement;
_playButton = ui.Q