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