Allow camera render target to be null
This commit is contained in:
@ -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"
|
||||
/>
|
||||
|
Reference in New Issue
Block a user