Unity
1
Вклад в тег
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class int_text : MonoBehaviour
{
public Text MyText;
private int test = 20;
// Start is called before the first frame update
void Start()
{
MyText.text = $"int: {test}";
}
// Update is called once per frame
void Update()
{
}
}