전체 글
[Thymeleaf] fragment, layout 정리
Thymeleaf 에서 지원해주는 fragment(조각) 과 layout(영역) 을 쉽게 정리해서 붙여넣는 방법을 정리해본 것이다 headerFrag.html footerFrag.html copyright base.html content.html 추가내용 1. 사용할 태그는 반드시 layout 에 존재해야한다. 무슨말이냐면. content.html 의 body 제일 아래부분 script 태그 1, 2 렌더링 결과 화면 추가내용 2 공통으로 사용될 layout 에 태그 순서에 따라 추가되는 위치도 바뀐다. 위치에 따라 바뀌므로 먼저 읽혀야할 부분은 미리 layout 에서 순서를 정해두고 배치 해놓아야 한다.
[Unity] RectTransformUtility 팁
https://docs.unity3d.com/ScriptReference/RectTransformUtility.html Unity - Scripting API: RectTransformUtility 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 UGUI 에서 RectTransform 의 위치를 가지고 월드좌표, 마우스좌표와 자주 연동시킬 때 ..
[Unity] Simple async EventHandler in Unity using Cysharp/UniTask
https://gist.github.com/JanikHelbig/8228e3fc6e118757faa8a61c3d8370af Simple async EventHandler in Unity using Cysharp/UniTask Simple async EventHandler in Unity using Cysharp/UniTask - EventHandlerAsync.cs gist.github.com EventHandler 에 등록된 함수'들'의 Invoke 후에 작업이 모두 완료되기까지 기다리게하는 유틸 UniTask 사용. EventHandlerAsyncExtensions.cs using Cysharp.Threading.Tasks; using System; public delegate UniTask Even..