Scripting API
Scripting API
SceneEditable
Record struct in Abyss.Core, from Abyss.Core.
What a component is edited by in the Scene view: one the editor offers to edit there; see World.EditableInScene.
public readonly record struct SceneEditableConstructors
SceneEditable
public SceneEditable(ComponentId Component, string Button)What a component is edited by in the Scene view: one the editor offers to edit there; see World.EditableInScene.
Parameters
Component: The component.Button: What the Inspector's button that starts editing it is called:Edit Collider.
Properties
Component
public ComponentId Component { get; init; }The component.
Button
public string Button { get; init; }What the Inspector's button that starts editing it is called: Edit Collider.
Choice
public string? Choice { get; init; }The choice the component's handles edit, its value written as JSON, whose UTF-8 the editor's bytes are, and which an undo writes as a choice: a Line's points. Null for a plugin's component, edited as its bytes.
