140 Commits

Author SHA1 Message Date
Max Hilbrunner
664723bf4e Merge pull request #6206 from Structed/patch-1
Replace call to non-existent function get_editor_main_control()
2022-10-04 15:47:30 +02:00
Martin Schultz
379250ba7e Add C# for 'Making main screen plugins' 2022-10-01 21:47:52 +02:00
Max Hilbrunner
c9d41855e2 Merge pull request #6211 from Evanaellio/fix-tool-annotation
Fix references to the @tool annotation
2022-09-22 17:24:35 +02:00
Evanaellio
3cb674285e Fix references to the @tool annotation 2022-09-21 22:48:04 +02:00
Evanaellio
bc35550dc5 Swap arguments of ResourceSaver.save() 2022-09-21 22:30:25 +02:00
Johannes Ebner
0269514bfb Replace call to non-existent function get_editor_main_control()
get_editor_interface().get_editor_main_control() no longer exists. `get_editor_main_control()` has been replaced with `get_editor_main_screen()`.

I changed all the occurrences in code, as well as adapted the text  describing this accordingly.
2022-09-20 23:05:26 +02:00
Raul Santos
39f488e62e Warn users about Activate now on C#
- Add a warning about enabling `Activate now` for C# plugins
- Add tabs to `Create Plugin` dialog values
2022-09-05 11:51:01 +02:00
Raul Santos
3b36a94d35 Update C# signal documentation
Updates C# signal documentation and code examples to the new API in 4.0
2022-08-26 15:59:43 +02:00
Max Hilbrunner
9cc34c72de Merge pull request #6103 from Calinou/making-plugins-register-autoload
Document registering an autoload when an editor plugin is enabled
2022-08-24 19:58:20 +02:00
Hugo Locurcio
9baaf4dc42 Document registering an autoload when an editor plugin is enabled 2022-08-24 19:33:01 +02:00
Max Hilbrunner
2dd9212352 Improve flow and remove banned words
Improves flow and removes banned words.

Co-authored-by: WakaJoekoe <48286673+WakaJoekoe@users.noreply.github.com>
Co-authored-by: Hugo Locurcio <Calinou@users.noreply.github.com>
Co-authored-by: skyace65 <trekie96@hotmail.com>
2022-08-24 19:24:00 +02:00
Loki McKay
c9da1e8a37 Update instance() call to instantiate() in Making Plugins (#5917) 2022-07-08 20:07:33 +02:00
Andrew Rublyov
057dfc2d67 Add missing C# samples for the "Inspector plugins" page (#5829) 2022-06-08 13:22:43 +02:00
Christian Wookey
6fcaed6497 Fixed an old-style .connect() call (#5772) 2022-04-29 12:19:48 +02:00
Dan Boorstein
601a110ec8 Update main screen plugin tutorial for 4.0 changes (#5749) 2022-04-08 18:39:04 +02:00
Bruno Garcia
1381983226 fix 'making_plugin' tutorial code snippet (#5585)
* Fix making plugin tutorial
2022-03-03 12:52:27 +01:00
Christian Winter
8322cff165 Fix missing underline in methods 2022-02-03 02:10:10 +01:00
SnailRhymer
21246a9376 Update plugin tutorial to use @tool
Replaces instances of tool with @tool in plugin tutorial.
2022-01-27 01:00:02 +00: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
5c7f653347 Optimize PNG and SVG images using oxipng and svgcleaner (#5254) 2021-09-14 17:50:17 +02:00
Aaron Franke
4060179184 Remove trailing space characters (#5251) 2021-09-13 14:52:39 +02:00
Yuri Sizov
9d7fc8c603 Fix a misleading statement in the inspector plugins tutorial 2021-08-06 21:10:46 +03: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
Florian Heide
154da0733a Update making_main_screen_plugins.rst
updated the function name from get_editor_viewport() to get_editor_main_control()
2021-07-03 23:04:56 +02:00
Martin
dc0fca892a Fix GDScript example formating
First 3 lines of actual code appeared in the tab title instead of in the code block.
2021-06-09 12:50:39 +02:00
Rémi Verschelde
044b6a74f8 Cleanup uses of double spaces between words or after punctuation 2021-06-07 10:44:02 +02:00
Yuri Roubinsky
f710754994 Replaced one screenshot to actual version in visual_shader_plugins.rst 2021-04-05 20:46:34 +03:00
Nathan Lovato
7e7df1cc03 Merge class_name docs from scripting_continued.rst into gdscript docs 2020-11-07 23:23:19 -06:00
Beuc
e93159960a Make PerlinNoise3D accept scalars directly
The current code requires creating and plugging a Scalar node just to enter the value "10" (see current screenshot); with this change, the node, like existing Godot nodes, can take the scalar value directly within the PerlinNoise3D Node.
2020-10-13 18:11:50 +02:00
Nathan Lovato
1fc736e5ae Merge pull request #3867 from pycbouh/better-inspector-plugin
Improve Inspector plugin tutorial with a better example
2020-10-10 13:10:56 -06:00
Nathan Lovato
09d4edb0e1 Edit inspector_plugins.rst 2020-10-10 13:06:57 -06:00
Yuri Roubinsky
a67a8813ca Fix visual shader plugin example 2020-09-22 09:14:30 +03:00
Yuri Sizov
7bdb5c41a8 Improve Inspector plugin tutorial with a better example 2020-09-09 19:31:31 +03:00
Yuri Roubinsky
9f9efbff56 Fix tool keyword in visual shader plugins tutorial 2020-09-06 12:42:29 +03:00
Ryan Roden-Corrent
e94dc92fb1 Clarify that "them" refers to script classes. (#3779)
I _think_ this block is recommending using script classes instead of Custom Types, but I had to read it a few times to determine whether "these" meant "Script Classes" or "Custom Tyes".
2020-07-12 19:33:20 +02:00
Michael Alexsander
1f6d3995e4 Apply general code formatting to some pages in the tutorial section 2020-07-08 23:02:14 -03:00
Robin Gustafsson
8cdd376e00 Update enum usage in "Import plugins"
The examples using the `Presets` enum don't work as-is. The enum key must be referenced with the enum name prefixed. According to [GDScript basics](https://docs.godotengine.org/en/stable/getting_started/scripting/gdscript/gdscript_basics.html) this was changed in 3.1.
2020-07-04 15:59:43 +02:00
Hugo Locurcio
d494d19dac Remove trailing whitespace and irregular whitespace 2020-05-17 00:26:19 +02:00
Marcel Admiraal
a865a960f7 Convert SpatialMaterial references to StandardMaterial3D. 2020-05-04 20:09:23 +01:00
VardenTheOne
a56bfcad1f Fix method name 2020-04-30 18:32:10 +03:00
Andrew Luchuk
bf420a5032 Fixes typo on line 60 in understand 2020-04-26 14:24:16 -04:00
Hugo Locurcio
8e0caddac3 Fix typos found using codespell -wi3 ^classes/**/*.rst 2020-04-16 21:01:09 +02:00
Michael Alexsander
58ff2e036a Fix some recent errors and styling (#3375) 2020-04-12 15:25:45 +02:00
Aaron Franke
81e2b78a69 Simplify the "Making main screen plugins" article 2020-03-25 14:12:59 -04:00
Yuri Sizov
075acc61b0 Replace Pool*Arrays with Packed*Arrays in tutorials and references 2020-03-17 11:15:34 +03:00
Rémi Verschelde
3e29a69e8d Merge pull request #3219 from Calinou/add-installing-plugins
Add a page on installing plugins
2020-03-13 12:51:03 +01:00
Austen McRae
1537e66c8c Expand Inspector Plugin tutorial (#3024)
As a first-time creator of the inspector plugin, it took
a while to actually understand exactly what's happening and
what's needed, so I've expanded with the information that I felt would
help make the tutorial easier for people doing their first foray into
making one of these plugins.
2020-03-03 22:17:39 +01:00
Aaron Franke
d160dae635 Update main screen plugin tutorial (#3232)
Add get_plugin_icon, add a link to the 2.5D demo projects, and make scripts conform to style guide (two lines between functions)
2020-03-03 20:19:59 +01:00
John Mick
4e5ea7e1af Possible typo (#3156)
Tutorial for 3.2 suggests calling 'add_custom_property_editor' which is not a member of EditorInspectorPlugin; however 'add_property_editor' does exist.
2020-03-03 20:11:40 +01:00
Hugo Locurcio
b061ebf005 Add a page on installing plugins
This closes #2491.
2020-02-29 22:41:55 +01:00