Unity에서 UI관련 작업을 하다보면 Text에 스트로크(Out Line)을 넣거나 그라데이션을 넣을 일이 종종 생깁니다.(디자이너 분들의 요구에 의한...)
때문에 그라데이션을 Text에 적용할때에 사용할 수 있는 Gradient 코드를 올려봅니다. using UnityEngine; using System.Collections; using System.Collections.Generic; using System.Collections.Generic; /// Modified Gradient effect script from http://answers.unity3d.com/questions/1086415/gradient-text-in-unity-522-basevertexeffect-is-obs.html /// -Uses Unity's Gradient class to define the color /// -Offset is now limited to -1,1 /// -Multiple c...
#
Gradient
#
텍스트
#
유니티
#
그라데이션
#
Unity3D
#
Unity
#
UI그라데이션
#
UIGraduent
#
TextGradient
#
텍스트그라데이션