Allow camera render target to be null

This commit is contained in:
2023-05-10 07:43:02 -07:00
parent 9f5c39b8d0
commit cdc3e89f8a
6 changed files with 23 additions and 12 deletions

View File

@ -3,7 +3,7 @@
<UIBorder
ref="border"
borderSize="8, 8"
borderSize="16, 16"
alignment="50, 0, 0, 0"
alignUnitLeft="UI_COMPONENT_ALIGN_UNIT_PERCENT"
ref="border"
@ -12,8 +12,11 @@
/>
<child>
<UILabel text="bruh" font="font_main" fontSize="32"
alignment="16, 16, -1, -1"
<UILabel
text="This shows how I can now make UI elements align based on percentages of the screen."
font="font_main"
fontSize="32"
alignment="16, 16, 0, 0"
alignX="UI_COMPONENT_ALIGN_STRETCH"
alignY="UI_COMPONENT_ALIGN_STRETCH"
/>