Scene change support
This commit is contained in:
@ -4,4 +4,5 @@
|
||||
# https://opensource.org/licenses/MIT
|
||||
|
||||
tool_prefab(${CMAKE_CURRENT_LIST_DIR}/EthPrefab.xml)
|
||||
tool_prefab(${CMAKE_CURRENT_LIST_DIR}/VNTextbox.xml)
|
||||
tool_prefab(${CMAKE_CURRENT_LIST_DIR}/VNTextbox.xml)
|
||||
tool_prefab(${CMAKE_CURRENT_LIST_DIR}/VNTextboxMonologue.xml)
|
@ -3,7 +3,6 @@
|
||||
<asset type="texture" name="texture_border" />
|
||||
|
||||
<UIBorder
|
||||
ref="border"
|
||||
borderSize="16, 16"
|
||||
alignment="50, 0, 0, 0"
|
||||
alignUnitLeft="UI_COMPONENT_ALIGN_UNIT_PERCENT"
|
||||
|
28
assets/games/liminal/prefabs/VNTextboxMonologue.xml
Normal file
28
assets/games/liminal/prefabs/VNTextboxMonologue.xml
Normal file
@ -0,0 +1,28 @@
|
||||
<prefab name="VNTextboxMonologue" type="">
|
||||
<asset type="truetype" name="font_main" />
|
||||
|
||||
<UIEmpty
|
||||
ref="container"
|
||||
alignment="20, 20, 20, 20"
|
||||
alignUnitTop="UI_COMPONENT_ALIGN_UNIT_PERCENT"
|
||||
alignUnitBottom="UI_COMPONENT_ALIGN_UNIT_PERCENT"
|
||||
alignUnitLeft="UI_COMPONENT_ALIGN_UNIT_PERCENT"
|
||||
alignUnitRight="UI_COMPONENT_ALIGN_UNIT_PERCENT"
|
||||
alignX="UI_COMPONENT_ALIGN_STRETCH"
|
||||
alignY="UI_COMPONENT_ALIGN_STRETCH"
|
||||
/>
|
||||
|
||||
<child>
|
||||
<UIRichTextLabel
|
||||
alignment="0, 0, 65, 192"
|
||||
alignUnitLeft="UI_COMPONENT_ALIGN_UNIT_PERCENT"
|
||||
alignUnitRight="UI_COMPONENT_ALIGN_UNIT_PERCENT"
|
||||
alignX="UI_COMPONENT_ALIGN_MIDDLE"
|
||||
alignY="UI_COMPONENT_ALIGN_MIDDLE"
|
||||
ref="uiLabel"
|
||||
>
|
||||
</UIRichTextLabel>
|
||||
</child>
|
||||
|
||||
<VNTextboxScroller ref="textboxScroller" label="uiLabel" visibleLines="6" />
|
||||
</prefab>
|
Reference in New Issue
Block a user