38 lines
667 B
C#
38 lines
667 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using UnityEngine.EventSystems;
|
|
using UnityEngine.UI;
|
|
|
|
public class ItemInput : InputField
|
|
{
|
|
//选中输入框 输入文本
|
|
public override void Select()
|
|
{
|
|
base.Select();
|
|
|
|
}
|
|
|
|
protected override void Awake()
|
|
{
|
|
Select();
|
|
|
|
|
|
}
|
|
|
|
public override void OnBeginDrag(PointerEventData eventData)
|
|
{
|
|
base.OnBeginDrag(eventData);
|
|
}
|
|
|
|
public override void OnDrag(PointerEventData eventData)
|
|
{
|
|
base.OnDrag(eventData);
|
|
}
|
|
|
|
public override void OnEndDrag(PointerEventData eventData)
|
|
{
|
|
|
|
}
|
|
}
|