Skip to content

Serializing script variables #12

@Semihazah

Description

@Semihazah

Two questions:

  1. Can you serialize scripts alongside the entities in scenes?
  2. Can you set variables in the script and serialize those as well?

When I work with scripts in Godot, I attach a script to a node, then export a variable from that script so that that particular script instance has a unique value. While there is no editor, is it possible to encode this data in a scene?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions