Topic was automatically imported from the old Question2Answer platform.
Asked By
The_Black_Chess_King
So, we can do:
export(AudioStreamSample) var Music_Stinger
export(bool) var Trigger_On_Enter
How can I export a CollisionPolygon2D? I have a area2d node saved, which has a child CollisionPolygon2D, it is a trigger for musics and stingers in the game, however, I would like to know if it’s possible to expose in the inspector a CollisionPolygon2D similarly like the above, so I could customize a collision shape for the map,