Input.GetMouseButtonDown(0);
Input.GetKeyDown(KeyCode.W);
this.GetComponent<想要获取的类型>;
public GameObject node;
AudioSource as = node.GetComponent<AudioSource>();
as.play();
public AudioSource as;
as.play();
this.transform.Rotate(0, 1f, 0, Space.Self);
Application,targetFrameRate = 60;
GameObject node = GameObject.Find("飞机机体/机翼");
public GameObject wingNode;
Transform parent = this.transform.parent;
GameObject parentNode = this.transform.parent.gameObject;
this.transform.SetParent();
foreach(Transform child in transform);
Transform child = this.transform.GetChild(0);
Transform child = this.transform.Find("名字");
if (node.gameObject.activeSelf) node.gameObject.SetActive(false);
else node.gameObject.SetActive(true);
this.Invoke(函数名(string), 时间);
this.InvokeRepeating(函数名(string), 首次时间, 间隔时间);
IsInvoking("函数名");
CancelInvoke("函数名");
Vector3 v = new Vector(3, 0, 4);
float len = v.magnitude;
Vector.Distance(one, otherone);
v.normalized;
GameObject node = Object.Instantiate(prefab, 父节点);
Object.Destroy(this.gameObject);
AudioClip
Material
Prefab
Rigidbody
Sphere Collider