using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Copy : MonoBehaviour
{
void Update()
{
if (Input.GetKeyDown(KeyCode.Space))
{
//点击直接复制成功
GUIUtility.systemCopyBuffer = "复制文本";
}
}
}
unity 复制文本到剪切板
最新推荐文章于 2024-01-18 19:26:27 发布