项目里经常遇到,copy用户的id,名字等,记录下来,方便查找
public Button btnCopy;
// Start is called before the first frame update
void Start()
{
btnCopy?.onClick.AddListener(OnClickCopy);
}
void OnClickCopy()
{
GUIUtility.systemCopyBuffer = input.text;
}
4629

被折叠的 条评论
为什么被折叠?



