had to change how parent component is checked

still not sure what caused this

discord: https://discord.gg/WFwUXe6Em8
stoat: https://stt.gg/6T7e7yb7

you are viewing a single comment's thread
view the rest of the comments
[–] 1 point 6 months ago (1 child)

Did you end up figuring out the solution?

  • source
  • parent
  • hideshow 1 child comment
  • [–] [S] 2 points 6 months ago

    Yeah, I made the script check whether it's a child of a Node2D before accepting its parent as its component.

    Some other solutions might be:

    • removing the @tool modifier (not applicable in my case)
    • making the user manually assign the component (not necessary in this case)
  • source
  • parent