// Code that runs every frame. public override void OnEnter() { button = (UnityEngine.UI.Button)gameButtonGui.Value; button.OnDeselect(null); }