public void Deactivate() { if (isActivated) { isActivated = false; drawer.Dispose(); drawer = new NullDrawer(); } }
private void OnDisable() { drawer?.Dispose(); }
public void Deactivate() { if (isActivated) { isActivated = false; drawer.Dispose(); drawer = new NullDrawer(); } }
private void OnDisable() { drawer?.Dispose(); }