Version: 2021.1
public GameObject gameObject ;

描述

此组件附加到的游戏对象。始终将组件附加到游戏对象。

using UnityEngine;

public class Example : MonoBehaviour { void Start() { print(gameObject.name); } }
Morty Proxy This is a proxified and sanitized view of the page, visit original site.