Unity/UnityEditor

[Unity/UnityEditor] UnityEditor.Selection

sorry0101 2023. 5. 10. 19:24

하이어라키 창에서 오브젝트 선택 관련해서 해당 api를 사용해서 판단할 수 있다.

Selection.acitveGameObject


참고

https://docs.unity3d.com/2022.3/Documentation/ScriptReference/Selection.html

 

Unity - Scripting API: Selection

Success! Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable. Close

docs.unity3d.com