Skip to content

Generate CollisionLayers enum #2144

@wjt

Description

@wjt

In enums.gd we define enum CollisionLayers which has this comment:

## Please keep this in sync with Project Settings layer_names/2d_physics/

We could automate this! We could have a @tool script which rewrites this file on startup and in response to the ProjectSettings.settings_changed signal. (Or: rather than storing the enum in git, somehow dynamically generate it, create a GDScript resource from it and make it available at runtime.)

XP Summary (total 450)

Subdomain Skill XP
Engineering: Optimization & Performance Problem Solving 150
Engineering: Optimization & Performance Creativity & Design Thinking 150
Engineering: Optimization & Performance Technical Literacy 150

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions