Skip to content
Snippets Groups Projects
RenderedScrollFact.cs 466 B
Newer Older
  • Learn to ignore specific revisions
  • Richard Marcus's avatar
    Richard Marcus committed
    using System.Collections;
    using System.Collections.Generic;
    using TMPro;
    using UnityEngine;
    
    public class RenderedScrollFact : MonoBehaviour
    {
    
        public int ID;
        public TextMeshProUGUI LabelMesh;
        private string _label;
    
        public string factUri;
    
    Richard Marcus's avatar
    Richard Marcus committed
    
        public string Label
        {
            get { return _label; }
            set
            {
                if (_label == value) return;
                _label = value;
                LabelMesh.text = value;
            }
        }
    
    }