About to test prefabs but I need more horsepower
This commit is contained in:
@ -1,13 +1,3 @@
|
||||
<prefab>
|
||||
<asset type="bitmapfont" name="font_bitmap" texture="bmfont.png" rows="16" columns="16" />
|
||||
|
||||
<component ref="canvas" type="UICanvas" />
|
||||
|
||||
<children>
|
||||
<item>
|
||||
<component ref="label" type="scene/components/ui/UILabel::UILabel" text="Hello World" font="font_bitmap" />
|
||||
</item>
|
||||
|
||||
<!-- So here you can either do <item> which is recursive, or a prefab if you desire. -->
|
||||
</children>
|
||||
<prefab name="FPSLabel" type="ui/debug">
|
||||
<UILabel ref="label" text="Hello World" />
|
||||
</prefab>
|
Reference in New Issue
Block a user