-
Notifications
You must be signed in to change notification settings - Fork 0
ToolAttribute
Home | API by Category | Complete API Index | API Compatibility
| Field | Value |
|---|---|
| Full name | Electron2D.ToolAttribute |
| Namespace | Electron2D |
| Kind | class |
| Category | Scripting Metadata |
Marks a C# script class as capable of explicit editor-time execution.
public sealed class Electron2D.ToolAttribute : System.AttributeProfile: Electron2D 0.1.0 2D
Status: Experimental / Not verified
Out of profile: yes
Godot reference: ToolAttribute / [Tool]
Marker attribute for editor-time script intent; current metadata marks it experimental and sandboxed.
Apply this attribute to a script class that inherits from Electron2D.Node
when the class is intended to run inside editor tooling. In Electron2D 0.1.0
Preview, tool scripts are experimental and require explicit sandboxed
metadata before editor-time callbacks can run.
Runtime traversal stays separate from editor-time execution. The internal tool execution host uses explicit metadata, isolates callback exceptions and does not discover scripts through runtime assembly scanning.
The attribute is immutable and is safe to read from any thread.
Instances of this type are not synchronized. Access them from the thread that owns the object unless the member documentation states otherwise.
This attribute is available since Electron2D 0.1.0 Preview.
Electron2D.ExportAttributeElectron2D.SignalAttribute
| Member | Kind | Summary |
|---|---|---|
Electron2D.ToolAttribute() |
Constructor | Initializes a new instance of the ToolAttribute type. |
Kind: Constructor
public Electron2D.ToolAttribute()Initializes a new instance of the ToolAttribute type.
The new instance follows the lifetime and validation rules of its declaring type.
This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.ToolAttribute
Electron2D 0.1.0 Preview API reference. Generated from 175 public runtime types.