Game/Assets/Scripts/Player/Player_MovementNetworkSync.cs
/// <summary>
/// Calls command that will give the server this gameobjects position
/// which is then updated on the network which can be recived on all other
/// running clients
/// </summary>
Calls command that will give the server this gameobjects position
which is then updated on the network which can be recived on all other
running clients
Calls command that will give the server this gameobjects position which is then updated on the network which can be recived on all other running clients
[ClientCallback]
    private void GivePosition()
    {
        if (!isLocalPlayer) return;
        CmdGivePosition(myTransform.position);
    }
[ ClientCallback ] private void GivePosition ( ) { if ( ! isLocalPlayer ) return ; CmdGivePosition ( myTransform . position ) ; }
Calls command that will give the server this gameobjects position
which is then updated on the network which can be recived on all other
running clients
Calls command that will give the server this gameobjects position which is then updated on the network which can be recived on all other running clients