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

Player not sending all Commands

$
0
0
Hi,

I'm just getting started with UNet and I'm getting mad already. They said it would make Network a bit easier.
This is what I've got:
A simple NetworkManager set up, and a moving Cube (as the Player) with the following script attached:
Code (CSharp):
  1. using UnityEngine;
  2. using System.Collections;
  3. using UnityEngine.Networking;
  4.  
  5.  
  6. public class PlayerMove : NetworkBehaviour
  7. {
  8.     public GameObject bulletPrefab;
  9.  
  10.     public Transform DefaultWeapon;
  11.     public AudioClip ShootSound;
  12.  
  13.  
  14.     void...
Player not sending all Commands

Viewing all articles
Browse latest Browse all 16796

Trending Articles



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