int型をstring型に変換する方法を忘れてしまったので自分用にメモ。
[ 変換方法 ]
下記はint型のIntTestをstring型に変換しStringTestに代入しています。
using System.Collections; using System.Collections.Generic; using UnityEngine; public class ScriptTest : MonoBehaviour { void Start() { int IntTest = 0; string StringTest = ""; StringTest = IntTest.ToString(); } }