reckfellENGINE

EditorScriptPicker

Reckfell editor's control for selecting the script property of a Entity.

On this page
class EditorScriptPickerReckfellSharpEditorInherits EditorResourcePicker

Reckfell editor's control for selecting the script property of a Entity.

Similar to EditorResourcePicker this Control node is used in the editor's Inspector dock, but only to edit the script property of a Entity. Default options for creating new resources of all possible subtypes are replaced with dedicated buttons that open the "Attach Entity Script" dialog. Can be used with EditorInspectorPlugin to recreate the same behavior. Note: You must set the EditorScriptPicker.ScriptOwner for the custom context menu items to work.

Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.

Constructors1

EditorScriptPickerConstructor
# EditorScriptPicker
C#
public EditorScriptPicker();

Properties1

ScriptOwnerProperty
# ScriptOwner
C#
public Entity ScriptOwner { get; set; }

The owner Entity of the script property that holds the edited resource.

Methods2

GetScriptOwnerEntity
# GetScriptOwner
C#
public Entity GetScriptOwner();
Returns Entity
SetScriptOwnervoid
# SetScriptOwner
C#
public void SetScriptOwner(Entity ownerNode);
Parameters
NameTypeDefault
ownerNodeEntity—
Reckfell Engine documentationBack to top ↑
QUICK LINKSGetting startedEntity hierarchyC# & .NET 10Scenes and prefabs
Reckfell guides and full API K
reckfellENGINE
RECKFELL ACCOUNT

Sign in

Sign in to your Reckfell account.

One account for the entire Reckfell platform.