-
-
Notifications
You must be signed in to change notification settings - Fork 643
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes self-hit when spamclicking (#6864)
* Moves hiticons out from player prefabs into SpriteManager. Hit icons will now be pooled in the SpriteHandlerManager. Fixes the hiticons being target of interactions, which was making players hit themselves when spamclicking a target. * Adds the HitIcon prefab to the NetworkManager. Moves the HitIcon spawn away from the SpriteHandlerManager, it'll now use the Spawn and Despawn classes utilizing their client only functions.
- Loading branch information
1 parent
20a7d67
commit 1f5d871
Showing
8 changed files
with
133 additions
and
137 deletions.
There are no files selected for viewing
124 changes: 14 additions & 110 deletions
124
UnityProject/Assets/Prefabs/Player/Resources/Player_V4(uNet).prefab
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
97 changes: 97 additions & 0 deletions
97
UnityProject/Assets/Prefabs/Player/Resources/hitIcon.prefab
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
7 changes: 7 additions & 0 deletions
7
UnityProject/Assets/Prefabs/Player/Resources/hitIcon.prefab.meta
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
UnityProject/Assets/Prefabs/SceneConstruction/NestedManagers/NetworkManager.prefab
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
5 changes: 5 additions & 0 deletions
5
UnityProject/Assets/Prefabs/SceneConstruction/NestedManagers/SpriteManager.prefab
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
Oops, something went wrong.