07 Mar 2019
CenterPos 중심으로 Blur를 설정한다. _Samples는 샘플링 수, _BlurSize는 블러를위해 이미지가 이동한 거리 _MainTex_TexelSize는 하나의 텍셀이 차지하는 크기, 여기서의 _MainTex = ScreenSize 이기 때문에 가로가 1024라면...
21 Feb 2019
사용 방법 SpriteAtlas에 Include in Build flag를 켜고 빌드하면 Atlas는 포함된 상태로 빌드된다. 문제는 이러면 개별로 만든 AssetBundle에도 Atlas에 포함된 Sprite가 있으면 AssetBundle에도 포함되서 뽑힌다....
20 Feb 2019
T4를 사용해서 Unity Code Generator 구현 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Diagnostics; using Microsoft.VisualStudio.TextTemplating; namespace T4Generate_ { class Program { static...
20 Feb 2019
What is TextTemplateTransformationToolkit? Text Template Transformation Toolkit의 약자 템플릿 기반 텍스트 생성 프레임워크 (included with Visual Studio) 확장자 .tt 사용 T4 is used by developers...
14 Oct 2018
Regex를 사용해서 string안에 HTMLTag 다찾기 string pattern2 = @"(<[^>]*>)"; var allTagList = new List<string>(); var patternMatch = Regex.Matches(inputHTML, pattern2); for (int i = 0; i...