Raul Santos
c457ab79ec
Update some C# examples
...
- Rename members that have been renamed in Godot's C# API for 4.0.
- Change `delta` parameter type to `double`.
- Ensure parameters match base declaration.
- Follow our code style more closely.
- Other minor code fixes.
2023-05-18 13:14:05 +02:00
gomaproi
c39a8d9dc5
Update some screenshots in the Scripting section for Godot 4 ( #6851 )
2023-03-06 10:48:20 +01:00
Danil Alexeev
59075ad12f
Fix GDScript code style regarding colon (docs)
2023-03-05 16:51:08 +03:00
Paul Joannon
ac22d6e537
Update & fix C# blocks under tutorials/scripting/
...
- `_Process` and `_PhysicsProcess` take their delta argument as a `double`
- Use string interpolation instead of concatenating strings
- Use `string` instead of `String` (`using System` was removed from everywhere in a previous PR)
- Use `System.Array.Empty<T>()` to init empty arrays
- Use `SignalName.*` instead of `nameof(*)` for signals
- Do not use `event` as an argument name (that's a keyword)
- Match node paths to screenshots when retrieving nodes from the tree
- Add a C# example for scene unique nodes
- Update the "Cross language scripting" page
- Add a note about using `is` against `null`
2023-01-13 20:41:23 +01:00
Hana
9e90766a92
update c# class examples
2023-01-12 19:38:20 +01:00
31
0ed7937482
Fix Resource scripting blocks and C# examples
2022-12-28 22:35:47 -08:00
Hugo Locurcio
509804650e
Update all instances of instance() to instantiate()
2022-11-29 16:59:09 +01:00
Max Hilbrunner
198393eec7
More Godot 4 rename fixes ( #6315 )
...
* Spatial -> 3D, Transform, Quaternion
* File -> FileAccess
* Camera -> Camera3D
* Update references to MeshInstance and MultiMeshInstance
* ImmediateGeometry -> ImmediateMesh, misc renames
2022-10-15 20:54:47 +02:00
Max Hilbrunner
9862cbea87
Reference -> RefCounted
2022-10-15 17:26:59 +02:00
TheYellowArchitect
5542bf980f
[Resources] Update example to be compatible with 4.0 ( #6279 )
...
* [Resources] Update example to be compatible with 4.0
Co-authored-by: Max Hilbrunner <mhilbrunner@users.noreply.github.com >
2022-10-11 08:05:24 +02:00
Evanaellio
bc35550dc5
Swap arguments of ResourceSaver.save()
2022-09-21 22:30:25 +02:00
Rémi Verschelde
9a05eef561
4.0: Convert Sprite references to Sprite2D
...
Some screenshots will need to be updated so that the scene structures shown
in screenshot fit what the code blocks are referring to.
2021-10-06 14:29:55 +02:00
Aaron Franke
4060179184
Remove trailing space characters ( #5251 )
2021-09-13 14:52:39 +02:00
Max Hilbrunner
6318e530d0
Remove UE version number
2021-08-09 16:22:31 +02:00
Marcin Sędłak-Jakubowski
bd19917ea0
Draft: Remove "simple", "simply", "easy", and "just" from the docs ( #4496 )
...
* Various style edits
* Edit out "simple" when possible
Co-authored-by: Max Hilbrunner <mhilbrunner@users.noreply.github.com >
Co-authored-by: Clay John <claynjohn@gmail.com >
2021-07-11 14:38:53 +02:00
BlueStag
a090a578fb
Fixed GetNode inconsistencies ( #5056 )
...
* Fixed GetNode inconsistencies (C#)
The generic method should be used instead. See #4794 .
2021-07-01 08:06:13 +02:00
swift502
3740276d38
Fix broken C# tab in Resources scripting tutorial
2021-04-25 14:54:28 +02:00
RoniPerson
b1bf4a93e3
Add a note to set default values for custom resources ( #4650 )
...
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro >
2021-02-16 17:12:37 +01:00
Nathan Lovato
d0eb1eb6bc
Move remaining files out of step_by_step/
...
Moved those to scripting/:
- filesystem
- resources
- singletons_autoload
- scene_tree
export to export/
and godot_design_philosophy to introduction/
2020-12-02 20:31:01 -06:00