Third Person Character Controller - Unity Multiplayer with Mirror - Tutorial

Channel:
Subscribers:
5,210
Published on ● Video Link: https://www.youtube.com/watch?v=QHZ60dvaks8



Category:
Tutorial
Duration: 2:41
1,054 views
30


Unity Engine, Mirror Netcode, Third Person Character Controller Asset, ParrelSync, all combined to get you started with an online game.
Converting Unitys single player Starter Asset example character to multiplayer, very basic setup for scene and player, further tutorials may follow if this current one is appreciated :)

Donation link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=9PUGQGE4XDE4C¤cy_code=GBP
Website: http://www.StephenAllenGames.co.uk

Code snippets:
-------------
if (_controller == null) { return; }
-------------
using Mirror;
using UnityEngine.InputSystem;
using StarterAssets;

public class PlayerSetupScript : NetworkBehaviour
{
// remember to set these on player prefab
public PlayerInput playerInput;
public ThirdPersonController thirdPersonController;

public override void OnStartLocalPlayer()
{
//disable by default on player prefab
playerInput.enabled = true;
thirdPersonController.enabled = true;
}
}
-------------
Mirror Netcode links:
https://assetstore.unity.com/packages/tools/network/mirror-129321
https://github.com/MirrorNetworking/Mirror
-------------
Unity TPC link:
https://assetstore.unity.com/packages/essentials/starter-assets-third-person-character-controller-196526
-------------
Parrel Sync link:
https://github.com/VeriorPies/ParrelSync







Tags:
mirror
netcode
multiplayer
unity
tutorial
examples
third person
character controller
online game
starter asset
game engine