mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
remove redundant initialization
This commit is contained in:
parent
4772c4445c
commit
76af9ecec9
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user