Commit Graph

33 Commits

Author SHA1 Message Date
Mark Wilson
93922aaa8c Fixed C# file-path strings for example plugin resources
The example (tutorial) plugin resides in an addons/my_custom_node
subdirectory of its project. The C# example code uses the same
relative path structure for a custom script and icon as the
GDScript example. These paths cause errors when the user activates
the plugin, as Godot looks for the resources in the root directory
of the project. This change fixes the errors by using the fully
qualified "res://" path to the resources in the C# example code.
2023-04-20 00:42:08 -04:00
Hana
9e90766a92 update c# class examples 2023-01-12 19:38:20 +01:00
AndrewPerson
ac4995d01e Fixed incorrect Texture type in example 2022-12-30 15:37:30 +11:00
Evanaellio
3cb674285e Fix references to the @tool annotation 2022-09-21 22:48:04 +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
Hugo Locurcio
9baaf4dc42 Document registering an autoload when an editor plugin is enabled 2022-08-24 19:33:01 +02:00
Loki McKay
c9da1e8a37 Update instance() call to instantiate() in Making Plugins (#5917) 2022-07-08 20:07:33 +02:00
Bruno Garcia
1381983226 fix 'making_plugin' tutorial code snippet (#5585)
* Fix making plugin tutorial
2022-03-03 12:52:27 +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
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
Rémi Verschelde
044b6a74f8 Cleanup uses of double spaces between words or after punctuation 2021-06-07 10:44:02 +02:00
Nathan Lovato
7e7df1cc03 Merge class_name docs from scripting_continued.rst into gdscript docs 2020-11-07 23:23:19 -06: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
Hugo Locurcio
d494d19dac Remove trailing whitespace and irregular whitespace 2020-05-17 00:26:19 +02:00
Andrew Luchuk
bf420a5032 Fixes typo on line 60 in understand 2020-04-26 14:24:16 -04: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
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
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
frido
6a6464aea1 Fix various typos and grammar issues in tutorial articles 2019-10-09 23:56:08 +02:00
Justin Burchartz
323b13df72 Added C# samples to "making plugins" doc (#2328)
* Added C# samples to "making plugins" doc

* Changed class name to CustomNode
2019-04-16 15:23:05 +02:00
corrigentia
87509ef9d4 Fix grammar in making_plugins
Fix grammar in making_plugins.
2019-01-17 08:53:47 +02:00
Rémi Verschelde
a1af0dfc13 Adapt tutorial hyperlinks after godotengine/godot#24640 2019-01-07 11:43:18 +01:00
Hugo Locurcio
1b1533eac4 Improve the Making plugins page
This also documents the ability to use SVG icons.
2018-10-14 01:59:56 +02:00
Ashafix
fc2cf1cf42 clarified section about adding icons to plugins 2018-10-11 22:13:54 +02:00
Drenghel
3845f0cf45 added a link to 'checking the results' for clarity (#1692)
* added a link to 'checking the results' for clarity

added a link to 'checking the results' for clarity when one does'nt know how to activate plugins yet

* removed space before colon
2018-08-28 15:09:23 -07:00
None
f064e4f7a7 Fix 404s, some redirects and some broken links. 2018-05-30 16:49:21 -07:00
mhilbrunner
f215a0cf26 Proofing/review: Remove filler words, adhere to style guide 2018-05-06 05:23:37 +02:00
Michael Alexsander Silva Dias
23cb08ce0a Fixes for the GDScript styling in various pages. 2018-02-05 20:12:52 -02:00
Nathan Lovato
96ee7418e9 Merge pull request #1028 from mhilbrunner/docs-structure
Restructuring update
2018-01-26 18:09:44 +01:00