Create ELDEN RING in Unity ► EP. 26 CHARACTER EFFECTS (Pt. 2)
In this video we add blood splatter VFX and damage SFX when the "TakeDamage" effect is processed. Because of the nature of our effects system these functions will be synced across the network with no additional work needed. We also add a "Game Session Manager" which will track the current players in game. We use this to sync equipment of players that join a host/other players.
Currently we update our equipment when a network variable changes using "OnValueChanged", however if I switch my weapon BEFORE you join, OnValueChanged is never activated upon your character connecting, so you do not see my updated weapon unless I change it again. We fix this using our Game Session Manager, by creating a function to sync every character present when you join as a client/Non-Host.
► DEV LOGS (Second Channel)
https://www.youtube.com/@SebbyGraves
► JOIN OUR DISCORD
https://discord.gg/jC6EXKa9Fj
► SUPPORT ME ON PATREON!
http://www.patreon.com/SebastianGraves
► ASSET STORE PAGE (Animations & Models)
https://assetstore.unity.com/publishers/58059
► FREE ANIMATION WEBSITE
https://www.mixamo.com/#/?page=1&query=Jump
► FOLLOW ME IN INSTAGRAM!
https://www.instagram.com/tragicallycanadian/
► EPISODE 27
https://youtu.be/Uk9l2_vuabE