holopy3/Assets/MazeGeneration/UIInfoManager.cs
2020-12-10 15:25:12 +01:00

15 lines
362 B
C#

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();
}
}