fix: EnemyPortals' VFX get disabled/enabled when crystals are broken [MTT-4893] by fernando-cortez · Pull Request #784 · Unity-Technologies/com.unity.multiplayer.samples.coop

Description

This PR hooks up the Breakable component reference back into EnemyPortals, such that the EnemyPortal modifies the IsBroken NetworkVariable of the Breakable component, leading to VFX disabling/enabling again.

Issue Number(s)

MTT-4893

Contribution checklist

  • Tests have been added for boss room and/or utilities pack
  • Release notes have been added to the project changelog file and/or package changelog file
  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • JIRA ticket ID is in the PR title or at least one commit message
  • Include the ticket ID number within the body message of the PR to create a hyperlink
  • An Index entry has been added in readme.md if applicable