You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 14, 2019. It is now read-only.
Is your feature request related to a problem? Please describe.
The PlayerMovementController has a dependency on CharacterHealth so that it can disable itself. If we continue to follow this pattern, this leaves "Death Handling" to each script themselves. Sooner than later "Death Handling" will sprawl across multiple scripts and updating or understanding what happens on death will become less manageable.
Describe the solution you'd like
A second script whose job is explicitly "Death Handling" should be implemented to disable or deactivate gameObjects and scripts that should be affected by death, keeping all of the results of a death in one script (singularly responsible). This has the added benefit of decoupling the PMC's dependency on CharacterHeatlh.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Is your feature request related to a problem? Please describe.
The PlayerMovementController has a dependency on CharacterHealth so that it can disable itself. If we continue to follow this pattern, this leaves "Death Handling" to each script themselves. Sooner than later "Death Handling" will sprawl across multiple scripts and updating or understanding what happens on death will become less manageable.
Describe the solution you'd like
A second script whose job is explicitly "Death Handling" should be implemented to disable or deactivate gameObjects and scripts that should be affected by death, keeping all of the results of a death in one script (singularly responsible). This has the added benefit of decoupling the PMC's dependency on CharacterHeatlh.
The text was updated successfully, but these errors were encountered: