Feature: Upgrading 2D Space Shooter to NGO 1.8.1 [MTT-8498] by Elfi0Kuhndorf · Pull Request #174 · Unity-Technologies/com.unity.multiplayer.samples.bitesize

Description

Upgraded 2D Space Shooter to NGO 1.8.1

  • added the new Rpc attribute
  • added OnConnectionEvent

I DID NOT add the new InstantiateAndSpawn to it yet. I tried to add it to the Spawner.cs script, but it did not work well due to a NetworkObjectPool being used
e.g. GameObject go = m_ObjectPool.GetNetworkObject(m_AsteroidPrefab.gameObject); does not work. I am not sure if I should include InstantiateAndSpawn here?

Issue Number(s)

MTT-8498

Contribution checklist

  • Tests have been added for the project and/or any internal package
  • Release notes have been added to the project 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