概要
using UnityEngine; public class Example : MonoBehaviour { private void Update() { var name = gameObject.name; } }
検証環境
- Unity 2017.4.7f1
using UnityEngine; public class Example : MonoBehaviour { private void Update() { var name = gameObject.name; } }