Tanoda
RemoveTagButton.cs
Go to the documentation of this file.
1using System.Collections;
2using System.Collections.Generic;
3using UnityEngine;
4using UnityEngine.UI;
5
6public class RemoveTagButton : MonoBehaviour
7{
8 public void RemoveThis()
9 {
10 PropertiesHelper.instance.RemoveTag(GetComponentInChildren<Text>().text);
11 Destroy(gameObject);
12 }
13}