Reduce FindObjects #7
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
IllusionMods/BetterPenetration!7
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "reduced-find-objects"
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?
I reduced the number of calls to FindObjects.
I've checked that
FindObjectsOfType<BetterPenetrationController>().LengthandBetterPenetrationController.controllers.Countmatch up in the rewritten section. It should be safe.Please review and merge.
Changes in loading time for huge scenes:
Before average 33.82
After average 33.3 -0.52