Class UITheme
UI 디자인 리소스 통합 에셋. 프로젝트의 모든 UI 스타일을 중앙에서 관리한다.
[CreateAssetMenu(menuName = "Framework/UI/Theme", fileName = "UITheme")]
public sealed class UITheme : ScriptableObject
- Inheritance
-
objectObjectScriptableObjectUITheme
Remarks
[사용 방법]
- Create > Framework > UI > Theme 으로 에셋 생성
- 각 Style 필드에 색상 / 폰트 / 크기 설정
- Style Binder 컴포넌트가 이 에셋을 참조해 자동 적용
[uPalette 연동] uPalette 설치 시 IThemeService.ApplyTheme() 이 uPalette 테마를 전환한다. 이 에셋은 uPalette 와 독립적으로 사용 가능하다.
Fields
BodyText
public UITextStyle BodyText
Field Value
CaptionText
public UITextStyle CaptionText
Field Value
DangerButton
public UIButtonStyle DangerButton
Field Value
HeaderText
[Header("Text")]
public UITextStyle HeaderText
Field Value
InputField
[Header("InputField")]
public UIInputFieldStyle InputField
Field Value
PrimaryButton
[Header("Button")]
public UIButtonStyle PrimaryButton
Field Value
SecondaryButton
public UIButtonStyle SecondaryButton
Field Value
Toggle
[Header("Toggle")]
public UIToggleStyle Toggle