a3b3a20ac0
The warning message mentions that local constants prefixed with `_` does not generate the warning. This commit actually implements this warning suppression.
4 lines
135 B
GDScript
4 lines
135 B
GDScript
func test():
|
|
const UNUSED = "not used"
|
|
|
|
const _UNUSED = "not used, but no warning since the constant name starts with an underscore"
|