remove redundant initialization

This commit is contained in:
Paul Pacheco 2019-02-22 18:50:22 -06:00
parent 4772c4445c
commit 76af9ecec9

View File

@ -9,7 +9,7 @@ public class PlayerController : NetworkBehaviour
public int Index;
[SyncVar]
public uint score = 0;
public uint score;
[SyncVar(hook = nameof(SetColor))]
public Color playerColor = Color.black;
@ -18,9 +18,9 @@ public class PlayerController : NetworkBehaviour
public float moveSpeed = 300f;
public float horiz = 0f;
public float vert = 0f;
public float turn = 0f;
public float horiz;
public float vert;
public float turn;
public float turnSpeedAccel = 30f;
public float turnSpeedDecel = 30f;