SHARE
TWEET

ChoiceButton.cs

a guest Apr 22nd, 2019 75 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top