示例#1
0
 public static PointerMoveEventListener Get(GameObject gameObject)
 {
     return(ComponentUtil.AutoGet <PointerMoveEventListener>(gameObject));
 }
示例#2
0
 public static PointerBeginDragEvent Get(GameObject gameObject)
 {
     return(ComponentUtil.AutoGet <PointerBeginDragEvent>(gameObject));
 }
示例#3
0
 /// <summary>
 /// 获取GameObject的UI事件组件,没有则会自动添加
 /// </summary>
 /// <param name="gameObject"></param>
 /// <returns></returns>
 public static UIEventListener Get(GameObject gameObject)
 {
     return(ComponentUtil.AutoGet <UIEventListener>(gameObject));
 }