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