Patrick
ddd4de4ff0
Fix minor inconsistencies of gdextension docs
...
* Fixed wrong indentation
* `ADD_SIGNAL` is not a method but a macro which simplifies the usage of the ClassDB method.
2023-02-27 13:11:19 +01:00
Thiago Lages de Alencar
8a112dcef2
Add bang operator to operators table ( #6558 )
...
* Add bang operator to operators table
* Add symbolic aliases for `and` & `or`
* Remove comma from operators table
* Add bang to the aliases list
---------
Co-authored-by: Max Hilbrunner <mhilbrunner@users.noreply.github.com >
2023-02-27 07:37:17 +01:00
Thiago Lages de Alencar
6095b20174
Add bang operator to gdscript style guide ( #6828 )
2023-02-27 07:19:38 +01:00
Patrick
1d609842dd
GDExtension docs
...
Renames from GDNative to GDExtension
Add Pictures/Gifs and clarified compatability
Remove GDNative language bindings from GDExtension docs
Update SConstruct and AddingProperties section
updated with suggestions
Added property hint example + updated to API naming changes
Fixed redirect.csv
2023-02-26 16:44:45 +01:00
Yuri Sizov
d91b6d4058
Merge pull request #6820 from hughowens/UpdateTutorialTextMonoToDotnet
...
Update references to "Mono" menu item to "Dotnet"
2023-02-26 16:24:33 +01:00
Max Hilbrunner
3592c269ac
Merge pull request #6792 from RedworkDE/compiling-with-mono-net
...
Update the `Compiling with Mono` page
2023-02-26 10:06:15 +01:00
Kirito
c1847892a3
Update class_name in Static typing in GDScript to follow style guide ( #6821 )
2023-02-26 01:03:32 +01:00
hughowens
e5f3f1f928
Update references to "Mono" menu item to "Dotnet"
...
Update references to "Mono" menu item to "Dotnet" in the text of the C Sharp Basics tutorial to match the actual menus as of Godot 4 RC5
2023-02-25 14:27:05 -08:00
Rémi Verschelde
f604baa936
Merge pull request #6772 from raulsntos/dotnet/collections
...
Add C# collections documentation page
2023-02-24 18:07:28 +01:00
31
a9ed49e29f
Scene unique nodes: clarify intended usage ( #6670 )
...
Scene unique nodes: clarify intended usage
2023-02-24 17:46:48 +03:00
Max Hilbrunner
0847b43a24
Merge pull request #6777 from GeroVeni/master
...
Add enum examples to the documentation comments
2023-02-24 15:04:56 +01:00
Raul Santos
4fc468e2e9
Apply suggestions from code review
...
Co-authored-by: RedworkDE <10944644+RedworkDE@users.noreply.github.com >
2023-02-21 19:39:29 +01:00
RedworkDE
4d78c82027
Rename page mono->dotnet, Doc build_assemblies args, Note about mono, Reviews, Fixes
2023-02-20 12:28:56 +01:00
Cyril K.B
3a11c30915
Fix code block formatting in gdscript_bascis.rst
2023-02-18 10:14:00 +01:00
GeroVeni
4d6964bc9e
Add enum examples to the documentation comments
2023-02-17 09:32:48 +00:00
Raul Santos
7f35d9b38e
Update tutorials/scripting/c_sharp/c_sharp_collections.rst
...
Co-authored-by: Paul Joannon <437025+paulloz@users.noreply.github.com >
2023-02-13 21:24:40 +01:00
Raul Santos
c403465613
Add C# collections documentation page
...
- Move documentation of the Godot C# collection types to a dedicated page.
- Document the differences between .NET collections and Godot collections.
- Help users choose which type of collection to use in C#.
2023-02-13 21:24:39 +01:00
Max Hilbrunner
0464ade11c
Merge pull request #6761 from Piralein/warnings
...
Update Invalid References
2023-02-12 18:34:53 +01:00
Raul Santos
62266a1634
Update C# exports documentation ( #6746 )
...
* Update C# exports documentation
- Node exports are supported in 4.0.
- Add documentation about exporting enums (and flag enums).
- Add more documentation about exporting collections.
- Changes to follow our style guide more closely.
---------
Co-authored-by: Hana <48352564+Piralein@users.noreply.github.com >
2023-02-12 18:31:38 +01:00
Hana
64476d96b4
update references
2023-02-10 19:13:03 +01:00
Max Hilbrunner
bbe291af42
Merge pull request #6750 from Calinou/gdscript-basics-unicode-identifiers
...
Document Unicode identifiers now being supported in GDScript reference
2023-02-09 10:12:32 +01:00
huulong
e7fbd0e136
Fix gdscript_exports @export_node_path example by adding quotes around class names to pass strings
2023-02-08 20:24:28 +01:00
Hugo Locurcio
0c9ac1fc42
Document Unicode identifiers now being supported in GDScript reference
2023-02-08 19:06:55 +01:00
Raul Santos
5010fa0d17
Add missing differences to C# documentation ( #6739 )
...
* Add missing differences to C# documentation
- Add `NodePath` section.
- Add `RID` section.
- Update `Transform2D` section.
- Add `Transform3D` section.
- Add `Rect2i` section.
- Add `AABB` section.
- Add `Projection` section.
---------
Co-authored-by: Paul Joannon <437025+paulloz@users.noreply.github.com >
2023-02-08 12:44:20 +01:00
Mara Huldra
59c4480051
Update style guide for new signal emit/connect syntax
2023-02-07 22:03:04 +01:00
Mara Huldra
6336d03a3a
Update style guide for new export and setget syntax
2023-02-07 22:00:35 +01:00
Aaron Franke
370f936922
GDScript style guide: Improve type inference section ( #6661 )
2023-02-05 16:33:38 +03:00
31
8a9729d900
Add C# type test example (pattern matching) ( #6732 )
...
* Add C# type test example (pattern matching)
* Connect section to "is" section, put "advanced" note back
2023-02-05 16:22:07 +03:00
Jonathan Deiss
bec737cb75
Update gdscript_styleguide.rst ( #6379 )
...
Adds two changes:
- makes it clear where subclasses should go (at the bottom of the script)
- put the `_enter_tree()` method before `_ready()` but after `_init()` since that's the order in which the methods are executed
2023-02-05 16:19:27 +03:00
31
e155194384
C#: Replace "falsy" with "false" in C# "is" doc ( #6733 )
2023-02-05 16:08:39 +03:00
31
ec045a4342
Lowercase titles for C# exports and signals pages
2023-02-04 16:08:57 -08:00
Danil Alexeev
aa271f3aab
Clarify @export_enum docs ( #6704 )
2023-02-04 23:13:33 +03:00
Raul Santos
7c014cfce6
Document Signal and Callable types in C# differences page ( #6722 )
2023-02-04 21:29:09 +03:00
Yuri Sizov
39ba707179
Merge pull request #6730 from raulsntos/dotnet/variant
...
Add a dedicated page about the C# Variant type
2023-02-04 20:37:54 +03:00
Raul Santos
1a118aed3a
Apply suggestions from code review
...
Co-authored-by: Max Hilbrunner <mhilbrunner@users.noreply.github.com >
2023-02-04 18:08:54 +01:00
Raul Santos
e9389ccbe6
Add a dedicated page about the C# Variant type
2023-02-04 18:08:22 +01:00
Yuri Sizov
6d5adf61a8
Merge pull request #6677 from raulsntos/dotnet/array-docs
...
C#: Add table with equivalent Array methods
2023-02-04 19:56:16 +03:00
Raul Santos
84d7a0f8d8
C#: Add table with equivalent Array methods
2023-02-04 17:49:11 +01:00
Raul Santos
d7f4e6b607
C#: Add table with equivalent GlobalScope methods
2023-02-04 17:07:39 +01:00
Raul Santos
b319da3f07
Update some C# examples for 4.0 ( #6693 )
...
* 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.
- Other minor code fixes.
---------
Co-authored-by: Paul Joannon <437025+paulloz@users.noreply.github.com >
2023-02-04 17:03:03 +01:00
notPelf
beb5f02422
Clarify ternary operator in the style guide
...
In the current style guide, the example for ternary operators includes a "not" in the conditional which is the same text color as the preceding "if" giving the impression that the format for a ternary operation is "[some_value] if not [condition] else [other_value]" which is incorrect, and may be confusing to figure out. I'm new to Godot and I've never used python (which I understand GDScript is based on). My only experience is with c# which I don't believe has a "not" keyword so I was quite confused by this.
This change would remove "not" from the condition to eliminate confusion, and rearrange the values to keep the meaning of the example code the same. Any alternative that removes the "not" would also work.
2023-02-01 18:41:48 -05:00
Paul Joannon
ebdd928c06
C# signal delegates must be public
2023-01-30 10:27:03 +01:00
Matthew
e37fcde0af
Merge pull request #6691 from paulloz/csharp/cs1612-and-basics-page-updates
...
Updates to C# basics (prerequisites / setup + start common errors section)
2023-01-28 18:20:14 -05:00
Paul Joannon
16d09985cd
Updates to C# basics + explain CS1612
...
- Replace mentions to Mono with mentions to .NET 6
- Update prerequisites / setup instructions
- Update 'attach script' image
- Fix code guidelines
- Add a 'common errors' section with an explanation about CS1612
2023-01-28 22:37:44 +01:00
Yuri Sizov
da6dad7b18
Merge pull request #6678 from raulsntos/dotnet/quaternion-docs
...
C#: Remove outdated Quaternion documentation
2023-01-28 23:51:29 +03:00
Raul Santos
db63931309
C#: Add table with equivalent Dictionary methods ( #6676 )
2023-01-28 23:45:41 +03:00
Raul Santos
831dc13e1f
C#: Remove outdated Quaternion documentation
2023-01-28 21:43:45 +01:00
Mach565
d089a504e9
Continue no longer works in a match statement ( #6674 )
2023-01-28 23:33:30 +03:00
Yuri Sizov
e2df72255a
Merge pull request #6680 from raulsntos/dotnet/plane-docs
...
C#: Remove Plane section from C# differences page
2023-01-28 22:45:21 +03:00
Raul Santos
17ca353ae6
Add Color section to C# differences page
2023-01-28 18:43:29 +01:00