holopy3/Assets/MazeGeneration/UIInfoManager.cs

16 lines
362 B
C#
Raw Normal View History

2020-12-10 14:25:12 +00:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class UIInfoManager : MonoBehaviour
{
public Text HeightValue;
public Text WidthValue;
public void UpdateUI(int height, int width)
{
HeightValue.text = height.ToString();
WidthValue.text = width.ToString();
}
}