Unity/문제 해결

[Unity/UI] 버튼 클릭이 겹칠 때 해결 방법

sorry0101 2022. 11. 2. 16:01

(GameObject).transform.SetAsLastSibling();

하이어라키에서 최하위로 보낸다. (화면에서 최상단으로 올라오게 됨)


참고

https://docs.unity3d.com/ScriptReference/Transform.SetAsLastSibling.html

 

Unity - Scripting API: Transform.SetAsLastSibling

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