示例#1
0
 public static void Key(this GameObject recv, KeyCode key)
 {
     Util.MSG(recv, "OnKey", Boxed.Box(key), true);
 }
示例#2
0
 public static void MidPress(this GameObject recv, bool press)
 {
     Util.MSG(recv, "OnMidPress", Boxed.Box(press), true);
 }
示例#3
0
 public static void Hover(this GameObject recv, bool highlight)
 {
     Util.MSG(recv, "OnHover", Boxed.Box(highlight), true);
 }
示例#4
0
 public static void Input(this GameObject recv, string input)
 {
     Util.MSG(recv, "OnInput", Boxed.Box <string>(input), true);
 }
示例#5
0
 public static void DragState(this GameObject recv, bool dragging)
 {
     Util.MSG(recv, "OnDragState", Boxed.Box(dragging), true);
 }
示例#6
0
 public static void Drop(this GameObject recv, GameObject obj)
 {
     Util.MSG(recv, "OnDrop", Boxed.Box <GameObject>(obj), true);
 }
示例#7
0
 public static void Tooltip(this GameObject recv, bool show)
 {
     Util.MSG(recv, "OnTooltip", Boxed.Box(show), true);
 }
示例#8
0
 public static void Drag(this GameObject recv, Vector2 delta)
 {
     Util.MSG(recv, "OnDrag", Boxed.Box <Vector2>(delta), true);
 }
示例#9
0
 public static void ScrollX(this GameObject recv, float x)
 {
     Util.MSG(recv, "OnScrollX", Boxed.Box <float>(x), true);
 }
示例#10
0
 public static void Select(this GameObject recv, bool selected)
 {
     Util.MSG(recv, "OnSelect", Boxed.Box(selected), true);
 }
示例#11
0
 public static void Scroll(this GameObject recv, float y)
 {
     Util.MSG(recv, "OnScroll", Boxed.Box <float>(y), true);
 }
示例#12
0
 public static void NGUIMessage <T>(this GameObject recv, string message, T value)
 {
     Util.MSG(recv, message, Boxed.Box <T>(value), true);
 }
示例#13
0
 public static void NGUIMessage(this GameObject recv, string message, KeyCode value)
 {
     Util.MSG(recv, message, Boxed.Box(value), true);
 }
示例#14
0
 public static void AltPress(this GameObject recv, bool press)
 {
     MSG(recv, "OnAltPress", Boxed.Box(press), true);
 }
示例#15
0
 public static void NGUIMessage(this GameObject recv, string message, GameObject value)
 {
     MSG(recv, message, Boxed.Box <GameObject>(value), true);
 }