Documentation ¶
Overview ¶
Package EditorScriptPicker provides methods for working with EditorScriptPicker object instances.
Index ¶
- type Advanced
- type Any
- type Instance
- func (self Instance) AsBoxContainer() BoxContainer.Instance
- func (self Instance) AsCanvasItem() CanvasItem.Instance
- func (self Instance) AsContainer() Container.Instance
- func (self Instance) AsControl() Control.Instance
- func (self Instance) AsEditorResourcePicker() EditorResourcePicker.Instance
- func (self Instance) AsEditorScriptPicker() Instance
- func (self Instance) AsHBoxContainer() HBoxContainer.Instance
- func (self Instance) AsNode() Node.Instance
- func (self Instance) AsObject() [1]gd.Object
- func (self Instance) ScriptOwner() [1]gdclass.Node
- func (self Instance) SetScriptOwner(value [1]gdclass.Node)
- func (self *Instance) UnsafePointer() unsafe.Pointer
- func (self Instance) Virtual(name string) reflect.Value
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Advanced ¶
type Advanced = class
Advanced exposes a 1:1 low-level instance of the class, undocumented, for those who know what they are doing.
type Instance ¶
type Instance [1]gdclass.EditorScriptPicker
Similar to [EditorResourcePicker] this [Control] node is used in the editor's Inspector dock, but only to edit the [code]script[/code] property of a [Node]. Default options for creating new resources of all possible subtypes are replaced with dedicated buttons that open the "Attach Node Script" dialog. Can be used with [EditorInspectorPlugin] to recreate the same behavior. [b]Note:[/b] You must set the [member script_owner] for the custom context menu items to work.
var Nil Instance
Nil is a nil/null instance of the class. Equivalent to the zero value.
func (Instance) AsBoxContainer ¶
func (self Instance) AsBoxContainer() BoxContainer.Instance
func (Instance) AsCanvasItem ¶
func (self Instance) AsCanvasItem() CanvasItem.Instance
func (Instance) AsContainer ¶
func (Instance) AsEditorResourcePicker ¶
func (self Instance) AsEditorResourcePicker() EditorResourcePicker.Instance
func (Instance) AsEditorScriptPicker ¶
func (Instance) AsHBoxContainer ¶
func (self Instance) AsHBoxContainer() HBoxContainer.Instance