Fix remote positions missing of MirrorXY#148
Merged
ChuanXin-Unity merged 7 commits intoUnity-Technologies:masterfrom Nov 6, 2019
Merged
Fix remote positions missing of MirrorXY#148ChuanXin-Unity merged 7 commits intoUnity-Technologies:masterfrom
ChuanXin-Unity merged 7 commits intoUnity-Technologies:masterfrom
Conversation
56d6adc to
2cba06d
Compare
2cba06d to
bb5e5c1
Compare
ce49931 to
d597d0e
Compare
Collaborator
|
Looks good! Thank for improving this and adding MirrorXY for Hexagonal! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixed some cases where the tile refresh did not refresh the affected remote tile.
8de8e1b Update:
RefreshNearTiles()andRefreshRemoteTiles()are used to speed upRefreshTile(). Most people don't use the 5x5 rule size. The algorithm assumes the size of the past 3x3 rule. More than 3x3 will do extra calculations to ensure that users will not be affected by the upgrade.Now change to Caching all RuleTile neighbor positions for the Tilemap, speedup 5x5 to same as 3x3.