單項(xiàng)選擇題假如一個(gè)GameObject上有一個(gè)腳本,怎樣直接刪除這個(gè)腳本。()

A.this.RemoveComponent<>()
B.Object.Destroy()
C.Object.DestroyComponent
D.this.Remove()


您可能感興趣的試卷

你可能感興趣的試題

1.單項(xiàng)選擇題下面GameObject的哪一個(gè)方法可以用來顯示隱藏對(duì)象。()

A.CompareTag
B.SetActive
C.GetComponentsInChildren
D.SendMessage

2.單項(xiàng)選擇題unity3D引擎中,不能用GameObject點(diǎn)出來的方法是()。

A.Findto
B.FindGameObjectWithTag
C.FindGameObjectsWithTag
D.Find