16 lines
362 B
C#
16 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();
|
|||
|
}
|
|||
|
}
|