Skip to content

Use node.get_indexed() instead of node.get() for state and input properties #216

@Protowalker

Description

@Protowalker

Currently you can't use nested property access (the example I ran into for my game was InputController:jump:packed); the only change necessary to support this would be to call node.get_indexed and node.set_indexed instead of the current node.get and node.set inside of property-entry.gd:

return node.get(property)

I'm not sure if this was a deliberate choice, maybe for performance, but I've made the change in my game and haven't had issues so far.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions