using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class mt_Terminal : MonoBehaviour
{
public KeyCode useKey = KeyCode.E;
public KeyCode exitKey = KeyCode.Tab;
public enum AVAILABILITY { NORMAL, LOCKED, UNLOCKED }
public AVAILABILITY availability = AVAILABILITY.NORMAL;
public bool DATA, NUKE, LOCK;
public LayerMask terminalLayer;
public float rewardDelay = 3;
public float detectionRange = 3;
[HideInInspector]
public string password;
[HideInInspector]
public bool inRange = false;
string gText;
protected mt_Hacking m_Hacking = null;
mt_Hacking Hacking
{
get
{
if (m_Hacking == null) m_Hacking = FindObjectOfType<mt_Hacking>();
return m_Hacking;
}
}
void Awake()
{
#if UNITY_ANDROID || UNITY_IPHONE
useKey = KeyCode.Mouse0;
gText =
unity黑客游戏机器源代码
最新推荐文章于 2024-06-13 09:21:48 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)