74 Commits

Author SHA1 Message Date
Raul Santos
0cae512d93 Warn about non-tool plugin scripts in C# (#6138)
* Warn about non-tool plugin scripts in C#

- Add warning about C# plugins not reloaded when they are not tools
- Add `[Tool]` attribute to plugin scripts in examples so they are not lost on reload
2024-09-10 13:41:29 +02:00
Raul Santos
669d5cedd2 Warn users about Activate now on C#
- Add a warning about enabling `Activate now` for C# plugins
- Add tabs to `Create Plugin` dialog values

(cherry picked from commit 39f488e62e)
2022-09-09 15:17:37 +02:00
Hugo Locurcio
9cda43e809 Document registering an autoload when an editor plugin is enabled
(cherry picked from commit 9baaf4dc42)
2022-09-09 15:17:37 +02:00
Raul Santos
d32ab7e340 Fix C# connect signal for 3.x (#5865) 2022-06-08 17:05:27 +02:00
Andrew Rublyov
ad117b0080 Add missing C# samples for the "Inspector plugins" page (#5829)
(cherry picked from commit 057dfc2d67)
2022-06-08 13:35:58 +02:00
Nathan Lovato
5a21563707 Merge class_name docs from scripting_continued.rst into gdscript docs 2021-11-24 10:33:18 -06:00
Yuri Sizov
9d181083f1 Improve Inspector plugin tutorial with a better example 2021-08-06 21:19:59 +03:00
Rémi Verschelde
e2b95576d8 Cleanup uses of double spaces between words or after punctuation 2021-07-13 00:44:58 +02:00
Martin
1228f8f4e3 Fix GDScript example formating 2021-07-12 23:02:47 +02:00
Rémi Verschelde
973cf89f94 Merge branch 'master' into 3.2 2020-09-22 08:59:08 +02:00
Yuri Roubinsky
a67a8813ca Fix visual shader plugin example 2020-09-22 09:14:30 +03:00
Yuri Roubinsky
9f9efbff56 Fix tool keyword in visual shader plugins tutorial 2020-09-06 12:42:29 +03:00
Rémi Verschelde
76cf11c890 Merge branch 'master' into 3.2 2020-07-30 17:14:54 +02: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
Rémi Verschelde
d48ff2b0a1 Merge branch 'master' into 3.2 2020-07-06 14:30:28 +02: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
Rémi Verschelde
10f20b00cb Merge branch 'master' into 3.2 2020-05-20 15:08:42 +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
Rémi Verschelde
31a288783c Merge branch 'master' into 3.2 2020-05-04 09:08:34 +02:00
VardenTheOne
a56bfcad1f Fix method name 2020-04-30 18:32:10 +03:00
Rémi Verschelde
c0cc4698f8 Merge branch 'master' into 3.2 2020-04-27 09:58:35 +02:00
Andrew Luchuk
bf420a5032 Fixes typo on line 60 in understand 2020-04-26 14:24:16 -04:00
Rémi Verschelde
48faee9f73 Merge branch 'master' into 3.2 2020-04-17 19:09:11 +02: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
follower
f17a55db2e Use more standard terminology. Fix grammar.
Change to use node relationship terminology ("sibling") that is both more standard[0] & more inclusive.

Fix pluralisation (i.e. "Xs nodes" -> "X nodes").

[0] e.g. https://en.wikipedia.org/wiki/Tree_structure#Terminology_and_properties
2020-02-18 03:01:57 +13:00
Emil Mattsson
cb68a0bd90 Language improvements in Import Plugin tutorial (#3090) 2020-01-27 08:42:10 +01:00
Aaron Franke
0b1acc49a2 Mention size flag in main screen plugin tutorial
Also re-flow some of the text over lines and mention adding a Label.
2020-01-09 13:21:46 -05:00
N0hbdy
e433e7a40b Add warning to making-plugins reminding about tool keyword
I've repeatedly forgotten that other scripts used in editor plugins
*also* need to have the `tool` keyword, otherwise it fails to correctly
run.
2020-01-01 20:50:21 -08:00
Ethan Jones
0500cd52a0 ExitTree c# example comment fix
Should be "Clean-up of the plugin goes here"
2019-11-14 08:29:54 -07:00
PouleyKetchoupp
854185495c Fixed code tags for true/false/null and a few property references 2019-11-02 13:09:14 +01:00
Rémi Verschelde
a57a3715db Merge pull request #2877 from Vikram1323/master
Script path in C# code is wrong.
2019-10-29 10:51:40 +01:00
Rémi Verschelde
3825851979 Proofread Inspector plugins and Visual Shader plugins tutorials 2019-10-29 10:38:51 +01:00
Rémi Verschelde
c1561b623d Merge pull request #2866 from Klowner/fix-inspector-plugin-example
Add proper extends / method calls to inspector plugins tutorial
2019-10-29 10:12:14 +01:00
Will Nations
3cb75877e1 Updated plugin tutorial w/ dialog & dep warning. (#2795)
- New note with CreatePluginDialog and images.
- Warns users that CustomTypes will be deprecated in 4.0.
2019-10-29 10:09:15 +01:00
vicky
4022e9bdb3 Script path in C# code is wrong. 2019-10-24 16:50:46 +05:30
Mark Riedesel
0f2be0b07f Add proper extends / method calls to inspector plugins tutorial 2019-10-20 11:59:38 -04:00
frido
6a6464aea1 Fix various typos and grammar issues in tutorial articles 2019-10-09 23:56:08 +02:00
wandomPewlin
2b4921b791 Adds underscore before on_Button_pressed()
so it matches the default name generated by the editor.
2019-09-23 14:31:21 +08:00
Rémi Verschelde
93e6b405fa Merge pull request #2719 from Calinou/improve-audio-pages
Improve "Audio buses", "Audio streams" and "Importing audio samples"
2019-09-01 17:36:16 +02:00
Hugo Locurcio
733a3a0e2f Improve "Audio buses", "Audio streams" and "Importing audio samples"
This improves writing style and formatting, and adds more links
to refer to other pages.
2019-09-01 17:00:50 +02:00