Upgrade Invaders to use Netcode For Gameobject 1.8.1 [MTT-8503] by bastienunity · Pull Request #172 · Unity-Technologies/com.unity.multiplayer.samples.bitesize

Conversation

@bastienunity

Description

  • Upgraded NGO to 1.8.1
  • Changed usage of ClientRPC and ServerRPC to the unified RPCAttribute.
  • Changed OnClientConnectedCallback registration to use the new OnConnectionEvent.
  • Changing spawn methods to use InstantiateAndSpawn.

Issue Number(s)

MTT-8503 Upgrade Invaders to use Netcode For Gameobject 1.8.1 and changed code to new recommended API.

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

fernando-cortez

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just nitpicks on Rpc names!

Elfi0Kuhndorf

fernando-cortez

fernando-cortez

fernando-cortez

RikuTheFuffs

fernando-cortez