You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2026-01-05 19:31:35 +00:00
Improve editor template workflow
Co-Authored-By: jmb462 <jmb462@gmail.com>
This commit is contained in:
19
modules/mono/editor_templates/EditorPlugin/plugin.cs
Normal file
19
modules/mono/editor_templates/EditorPlugin/plugin.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
// meta-description: Basic plugin template
|
||||
#if TOOLS
|
||||
using _BINDINGS_NAMESPACE_;
|
||||
using System;
|
||||
|
||||
[Tool]
|
||||
public partial class _CLASS_ : _BASE_
|
||||
{
|
||||
public override void _EnterTree()
|
||||
{
|
||||
// Initialization of the plugin goes here.
|
||||
}
|
||||
|
||||
public override void _ExitTree()
|
||||
{
|
||||
// Clean-up of the plugin goes here.
|
||||
}
|
||||
}
|
||||
#endif
|
||||
Reference in New Issue
Block a user