mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
fix warnings in classref
This commit is contained in:
parent
e8f9cd8ac5
commit
a5e5f1aa50
4 changed files with 14 additions and 12 deletions
|
|
@ -82,9 +82,9 @@
|
|||
var rect2 = rect.expand(Vector2(0, -1))
|
||||
[/gdscript]
|
||||
[csharp]
|
||||
# position (-3, 2), size (1, 1)
|
||||
// position (-3, 2), size (1, 1)
|
||||
var rect = new Rect2(new Vector2(-3, 2), new Vector2(1, 1));
|
||||
# position (-3, -1), size (3, 4), so we fit both rect and Vector2(0, -1)
|
||||
// position (-3, -1), size (3, 4), so we fit both rect and Vector2(0, -1)
|
||||
var rect2 = rect.Expand(new Vector2(0, -1));
|
||||
[/csharp]
|
||||
[/codeblocks]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue