-
Notifications
You must be signed in to change notification settings - Fork 155
Manuals
hskim edited this page Oct 19, 2021
·
15 revisions
NineChronicles GameObjects are sorted based on the Sorting Layer.
- InGameBackground
- InGameBackgroundVFX
- Character
- CharacterVFX
- InGameForeground
- InGameForegroundVFX
- UI
- VFX
- SystemUI
UI is managed by Canvas
in Game.unity scene. UI uses two sorting layers, and there are detailed layers below them.
Name | Order |
---|---|
Hud | 0 |
Widget | 10 |
StaticLayer | 20 |
Popup | 30 |
Animation | 40 |
Tooltip | 50 |
TutorialMask | 60 |
Screen | 70 |
Name | Order |
---|---|
System | 0 |
Development | 10 |
UI is managed with widget. A widget belongs to a layer with the same name as the WidgetType.
WidgetType | Layer Name | Sorting Layer |
---|---|---|
Hud | Hud | UI |
Widget | Widget | UI |
StaticLayer | StaticLayer | UI |
Popup | Popup | UI |
Animation | Animation | UI |
Tooltip | Tooltip | UI |
TutorialMask | TutorialMask | UI |
Screen | Screen | UI |
System | System | SystemUI |
Development | Development | SystemUI |
UI prefabs have UI_
prefixed. Add 'type' to the suffix to the object that inherited Widget. (e.g : WidgetType - Popup -> UI_HelpPopup)
Home
| Get Started
| Manuals
| Reference