25 lines
433 B
C#
25 lines
433 B
C#
|
using System.Collections;
|
||
|
using System.Collections.Generic;
|
||
|
using UnityEngine;
|
||
|
|
||
|
public class DisplayExpStatus : MonoBehaviour
|
||
|
{
|
||
|
|
||
|
public GameObject expText;
|
||
|
|
||
|
// Update is called once per frame
|
||
|
void Update()
|
||
|
{
|
||
|
|
||
|
if (Input.GetKeyDown(KeyCode.Tab))
|
||
|
{
|
||
|
expText.SetActive(true);
|
||
|
}
|
||
|
if (Input.GetKeyUp(KeyCode.Tab))
|
||
|
{
|
||
|
expText.SetActive(false);
|
||
|
}
|
||
|
|
||
|
}
|
||
|
}
|