Пример #1
0
 public override void OnGUI()
 {
     if (CanvasGUI.DoubleClick(position, name[0].ToString(), GUI.skin.box))
     {
         OverlayMenu.UpdateOverlays(this);
     }
 }
Пример #2
0
 public override void OnGUI()
 {
     if (CanvasGUI.DoubleClick(position, new GUIContent(name + ": " + Count), GUI.skin.box, tint))
     {
         OverlayMenu.UpdateOverlays(this);
     }
 }