FindObjectOfType <Camera>(); Debug.Log("根據型別查詢物體,是否查到:" + (typeCamera != null)); Transform[] typeTransArr = GameObject.
確定! 回上一頁