mirror of
https://github.com/godotengine/godot.git
synced 2024-12-15 10:12:40 +08:00
b68dd2e189
This makes it easier to spot syntax errors when editing the class reference. The schema is referenced locally so validation can still work offline. Each class XML's schema conformance is also checked on GitHub Actions.
12 lines
573 B
XML
12 lines
573 B
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="Position2D" inherits="Node2D" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
|
|
<brief_description>
|
|
Generic 2D position hint for editing.
|
|
</brief_description>
|
|
<description>
|
|
Generic 2D position hint for editing. It's just like a plain [Node2D], but it displays as a cross in the 2D editor at all times. You can set cross' visual size by using the gizmo in the 2D editor while the node is selected.
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
</class>
|