FindObjectsOfTypeAll (typeof(GameObject)) as GameObject[]; Note this can also return prefabs not just object instances in the scene so be careful when using ...
確定! 回上一頁