https://docs.unity3d.com/ScriptReference/Object.FindObjectOfType.html

 

Unity - Scripting API: Object.FindObjectOfType

Object.FindObjectOfType will not return Assets (meshes, textures, prefabs, ...) or inactive objects. It will not return an object that has HideFlags.DontSave set. Please note that this function is very slow. It is not recommended to use this function every

docs.unity3d.com

'Study > ' 카테고리의 다른 글

[Tip] RenderSettings  (0) 2024.06.05
[팁] Slider.onValueChanged  (0) 2024.06.05

+ Recent posts