Quantcast
Channel: Multiplayer
Viewing all articles
Browse latest Browse all 16796

Play Controller Problem with Multiplayer

$
0
0
Hey folks,

I have been trying to incorporate a simple player controller and allow it to work with a multiplayer game.

Here is a code blurb from the NetworkManager.cs script, SpawnPlayer Instantiates the playerPrefab
which has a Movement script, and a Network Identity and Network View.

Code (CSharp):
  1.  
  2.        private void JoinServer(HostData hostData){
  3.             Network.Connect(hostData);
  4.        }
  5.  
  6.         void OnConnectedToServer(){
  7.             //Debug.Log("Server Joined");...
Play Controller Problem with Multiplayer

Viewing all articles
Browse latest Browse all 16796

Trending Articles


Practice Sheet of Right form of verbs for HSC Students


Sarah Samis, Emil Bove III


ZARIA CUMMINGS


Need radio code for IVECO Delphi Aptiv FJ5 RBT M16


Black Angus Grilled Artichokes


Ed Sheeran – Sapphire – Pre-Single [iTunes Plus M4A]


Sunny Garcia’s Ex-Wife Colleen McCullough


99 God Status for Whatsapp, Facebook


Funeral of Sir Warwick Franklin


MHDD



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>