Suggestion Issue: Allow resources to be referenced by enums


Pages: 1

irock

  • Master Stencyler
  • *
February 15, 2020, 06:38:41 pm
This is only an issue for typed code, but if you're using one of the get(resource type)ByName() functions, any errors you make typing the names won't be caught at compile time. It would be nice to automatically generate an enum based on resource names and use it for a separate resource map. You'd also want to expose the enum value for each resource in the editor somewhere.


Pages: 1

Details

  • Reported
    February 15, 2020, 06:38:41 pm
  • Updated
    February 15, 2020, 06:38:41 pm

  • View Status
    Public
  • Type
    Suggestion
  • Status
    New
  • Priority
    Normal
  • Version
    (none)
  • Fixed in
    (none)
  • Assigned to
    (none)
  • Category
    Engine

Tags