top of page

TOSHICHAN
Unityでスクリプト&簡単な実装サイト
(タグ型)
private GameObject Test;
Test = GameObject.FindGameObjectWithTag("TEST");
(パブリック型)
public GameObject Test
(プライベート型)
private GameObject Test;
//オブジェクトの名前がTestのオブジェクトを探す
Test= GameObject.Find("Test");
オブジェクトを探す
bottom of page