using Photon.Pun; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class UICircuitCount : MonoBehaviour { public CircuitType type; public Text countText; public int Count { get => count; set { count = value; countText.text = count.ToString(); } } private int count = 10; public void RemoveOne() { SelectionGUI.Instance.RemoveCircuitFromSelection(this); } public void SetPlayerMaterial(Material material) { countText.material = material; } }