using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.Events;
namespace TcgEngine.UI
{
///
/// A toggle button that will disable other buttons in same group when clicked
///
public class IconButton : MonoBehaviour
{
public string group;
public TeamTitle valueData;
private string value;
public Image active_img;
public Image disabled_img;
public bool on_if_all_off;
public UnityAction onClick;
private bool active = false;
private Button button;
private static List toggle_list = new List();
void Awake()
{
toggle_list.Add(this);
button = GetComponent