Skip to content

Add ability to set game.project properties using editor scripts #11163

@skittonik

Description

@skittonik

It turns out to get a list of dependencies:
editor.get("/game.project", "project.dependencies")

But there is no way to enter your data there (it does not work):
editor.transact({editor.tx.set("/game.project", "project.dependencies", deps)})

Defold version: 1.10.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    breaking changeIssue introducing a breaking changeeditorIssues related to the Defold editoreditor scriptsIssue related to editor scriptsfeature requestA suggestion for a new feature

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions