Published On Mar 4, 2024
In the last tutorial about Netcode for GameObjects, I set up the network manager and added syncing for the player position and animation. This time, I will cover what are server and client RPCs and network variables, which I will use to keep the player score. I will also teach you how to spawn enemies on the server and how to make server-authoritative player movement to protect your game from cheaters!
Start Project Files - https://github.com/Freedom-Coding/Net...
đ Like and đSubscribe for More Unity and C# Tutorials    / @freedomcoding Â
đ Support My Work and Unlock Exclusive Content! đ
đ Patreon:   / freedomcoding Â
đŽ Join Our Developer Community!
đŹ Discord:   / discord Â
đ Support Me Financially
â PayPal: [email protected]
Are you looking for a Unity/C# tutor? Contact me here - [email protected]
Website - https://www.freedom-coding.com
Timestamps:
00:00 What You Will Learn
00:19 Spawning Enemies On The Server
02:54 Make Enemies Follow The Closest Player
07:05 Server And Client RPC
10:28 Network Variables - Player Score
12:21 Server Authoritative Player Movement
14:11 Conclusion