Tutorial: Online multiplayer 🔫 FPS Unity & Photon Fusion EP4.1 (player names and RPCs)

Опубликовано: 10 Май 2026
на канале: Pretty Fly Games
16,619
178

Download complete Unity project 👉   / tutorial-online-69129501  

📍 Support us on Patreon and help us make more videos like this one ⏩   / prettyflygames  

In this episode we'll go through how to implement player names in Photon Fusion. We will use text mesh in world space so you can see the name of each player. We'll also cover how to use RPCs to send messages from the server/host to the clients and vice verse and how to display them in the UI. Fusion has also been updated with some new features that makes life easier when it comes to Raycasts so we'll cover that shortly towards the end of the video.

💥 Join Our Community! 💥
💬 Discord   / discord  
🐔Twitter   / prettyflydev  

Music "Late Night Radio" Kevin MacLeod (incompetech.com)
Licensed under Creative Commons: By Attribution 4.0 License
http://creativecommons.org/licenses/b...

Chapters:
00:00 What we'll cover in this tutorial
00:35 Player name UI
05:35 Networked player name
09:07 RPC to server
12:25 Get players name UI
23:55 In game UI messages
32:53 RPC to clients
44:54 PlayerRef to NetworkObject
50:49 More messages
56:40 Fix bug with killing yourself
58:27 💗Patreon supporters

#PrettyFlyGames #LearnUnity #UnityTutorials #gamedev