-
-
Notifications
You must be signed in to change notification settings - Fork 992
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(Pointers): turn off renderer when either script is disabled
There was an issue where if the Pointer was active in the scene but either the Pointer script or the Pointer Renderer script were disabled then the Pointer Renderer would stay visible on the screen. This fix ensures that when the Pointer script is disabled it automatically calls `Toggle(false)` to turn off the pointer and also checks the state of the attached Pointer Renderer and if it is disabled the `Toggle(false)` is also called to ensure the pointer is disabled.
- Loading branch information
1 parent
c60d3dc
commit d7c37bf
Showing
3 changed files
with
27 additions
and
9 deletions.
There are no files selected for viewing
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
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
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