[QUALITY] Replace magic numbers and strings with named constants #19
Labels
No labels
architecture
bug
duplicate
enhancement
help wanted
invalid
performance
quality
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lavarius/ProjectOverlay#19
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
🟡 Medium — Code Quality
Magic numbers and strings scattered throughout the codebase make behaviour hard to understand and tune:
0.35f— dissolve threshold inOutfitChanger-2f— gravity reset inSimpleGravity0.9f— dot product threshold inMovementManager20000— dart throw count inGridMapGenerator50— max attempts inRadio"Player"— tag string inAutoColliderDoorFix: Extract to named
constfields or[SerializeField]configurable values: