Refactoring of status system to prevent bug w/ events
This commit is contained in:
parent
fd8306645b
commit
e89483d612
13 changed files with 487 additions and 113 deletions
|
@ -62,6 +62,6 @@ public class SoftObstacle : MonoBehaviour
|
|||
|
||||
void OnDestroy()
|
||||
{
|
||||
EventManager.Instance.destroyEvent(gameObject);
|
||||
EventManager.Instance.removeEvent(gameObject);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue