From 17576444af9b29111bfd136387c26d584739435a Mon Sep 17 00:00:00 2001 From: Vlad Protsenko Date: Thu, 26 Sep 2024 09:27:39 +0200 Subject: [PATCH] Link to editor API reference --- docs/en/manuals/editor-scripts-ui.md | 2 +- docs/en/manuals/editor-scripts.md | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/en/manuals/editor-scripts-ui.md b/docs/en/manuals/editor-scripts-ui.md index b22891d3..039ea7e7 100644 --- a/docs/en/manuals/editor-scripts-ui.md +++ b/docs/en/manuals/editor-scripts-ui.md @@ -5,7 +5,7 @@ brief: This manual explains how to create UI elements in the editor using Lua # Editor scripts and UI -This manual explains how to create interactive UI elements in the editor using editor scripts written in Lua. To get started with editor scripts, see [Editor Scripts manual](/manuals/editor-scripts). Currently, it's only possible to create interactive dialogs, though we want to expand the UI scripting support to the rest of the editor in the future. +This manual explains how to create interactive UI elements in the editor using editor scripts written in Lua. To get started with editor scripts, see [Editor Scripts manual](/manuals/editor-scripts). You can find the full editor API reference [here](https://defold.com/ref/alpha/editor/). Currently, it's only possible to create interactive dialogs, though we want to expand the UI scripting support to the rest of the editor in the future. ## Hello world diff --git a/docs/en/manuals/editor-scripts.md b/docs/en/manuals/editor-scripts.md index fe3a156b..a566cb13 100644 --- a/docs/en/manuals/editor-scripts.md +++ b/docs/en/manuals/editor-scripts.md @@ -64,6 +64,8 @@ You can interact with the editor using `editor` package that defines this API: - `editor.transact(txs)` — modify the editor in-memory state using 1 or more transaction steps created with `editor.tx.*` functions. - `editor.ui.*` — various UI-related functions, see [UI manual](/manuals/editor-scripts-ui). +You can find the full editor API reference [here](https://defold.com/ref/alpha/editor/). + ## Commands If editor script module defines function `get_commands`, it will be called on extension reload, and returned commands will be available for use inside the editor in menu bar or in context menus in Assets and Outline panes. Example: