Add Color.from_rgba8 and deprecate Color8
This commit is contained in:
parent
0f95e9f8e6
commit
4e48b19e1f
6 changed files with 31 additions and 6 deletions
|
|
@ -11,7 +11,7 @@
|
|||
<link title="GDScript exports">$DOCS_URL/tutorials/scripting/gdscript/gdscript_exports.html</link>
|
||||
</tutorials>
|
||||
<methods>
|
||||
<method name="Color8">
|
||||
<method name="Color8" deprecated="Use [method Color.from_rgba8] instead.">
|
||||
<return type="Color" />
|
||||
<param index="0" name="r8" type="int" />
|
||||
<param index="1" name="g8" type="int" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue