Skip to content

Idea: add ProjectSettings attribute #171

@michaeldomanek

Description

@michaeldomanek

In my current project is use e.g. default gravity from the project settings:

ProjectSettings.GetSetting("physics/2d/default_gravity")

Would be cool to have something similar for like [LayerNames] for project settings.

[ProjectSettings]
public static partial class MyProjectSettings;

generates something like:

public static partial class MyProjectSettings
{
    public const float DefaultGravity2d = 980f;
    ...
}

Don't know if it possible but maybe you could check, also thanks for the work so far.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions