Commit 39bf89e
committed
Added default scene for interact areas
This way, we have a scene that has the default configuration (collision layers and mask) of the interact area already setup.
I made it this way instead of by modifying the interact_area.gd because I'd like to let the contributors modify the collision layers of the nodes after they were created.
I think that this would not be needed anymore once we this pull request is merged into godot and default values for inherited properties can be overriden: godotengine/godot#93787 -- godotengine/godot-proposals#3381 parent 8a3e0bf commit 39bf89e
1 file changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
0 commit comments