void OnGUI() { GUI.DrawTexture(Right.AnchoredRect(), Right.content.image); GUI.DrawTexture(Left.AnchoredRect(), Left.content.image); if (GUI.Button(Box.AnchoredRect(), Box.content, Box.style)) { UpdateBox(); } }