using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.EventSystems; using static InterfaceManager; /// /// 正确输入后,点击打印按钮,弹出打印预览界面 /// public class PrintForm : MonoBehaviour { /// /// 打印小按钮页面 /// public GameObject ShowPrintPanel; void Start() { } void Update() { if (Input.GetKeyDown(KeyCode.Mouse1)) { if (!ShowPrintPanel.activeInHierarchy) { LoadTriggerNextGuide(); ShowPrintPanel.transform.position = Input.mousePosition; ShowPrintPanel.SetActive(true); } } } }