-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(MemberChange): only call change methods when isActiveAndEnabled
For Behaviours it is important to ignore changes while the Behaviour is disabled as it should handle the state in its OnEnable implementation. This new feature ensures the change handler methods are only called for Behaviours that are active and enabled. The change can be done by either using the inspector or calling a property's setter.
- Loading branch information
Christopher - Marcel Böddecker
committed
Mar 4, 2019
1 parent
dfc8628
commit d0b0120
Showing
2 changed files
with
40 additions
and
12 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