Advertisement
Guest User

ChoiceButton.cs

a guest
Apr 22nd, 2019
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.31 KB | None | 0 0
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. using TMPro;
  5.  
  6. public class ChoiceButton : MonoBehaviour
  7. {
  8.     public TextMeshProUGUI tmpro;
  9.     public string text { get { return tmpro.text; } set { tmpro.text = value; } }
  10.  
  11.     [HideInInspector]
  12.     public int choiceIndex = -1;
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement