using UnityEngine; using System.Collections; using UnityEngine.UI; public class SwitchButtonCollor : MonoBehaviour { public Button thisButton; public GameObject reference; private Graphic thisButtonGraphic; public bool isEnabled; private static Color enabledColor = new Color(0.356F, 0.78F, 0.815F, 1F); private static Color disabledColor = new Color(1F, 1F, 1F, 1F); void Start () { if (thisButton == null) thisButton = (Button) gameObject.GetComponent