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