2020-02-01 17:17:29 +00:00
|
|
|
|
using System.Collections;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using UnityEngine;
|
|
|
|
|
using UnityEngine.UI;
|
|
|
|
|
|
|
|
|
|
public class GuiManager : MonoBehaviour
|
|
|
|
|
{
|
|
|
|
|
public GameObject InteractIcon;
|
2020-02-01 18:49:53 +00:00
|
|
|
|
public Text Wood;
|
|
|
|
|
public Text Ammo;
|
2020-02-01 17:17:29 +00:00
|
|
|
|
|
|
|
|
|
// Start is called before the first frame update
|
|
|
|
|
void Start()
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Update is called once per frame
|
|
|
|
|
void Update()
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void InteractVerifier(bool set)
|
|
|
|
|
{
|
|
|
|
|
InteractIcon.SetActive(set);
|
|
|
|
|
}
|
|
|
|
|
}
|