From 4edd19f83b75abd4b942a3eed0f26c40170b19ec Mon Sep 17 00:00:00 2001 From: vis2k Date: Tue, 1 Feb 2022 12:35:00 +0800 Subject: [PATCH] INVALID IL --- Assets/Mirror/Examples/Tanks/Scripts/Tank.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Assets/Mirror/Examples/Tanks/Scripts/Tank.cs b/Assets/Mirror/Examples/Tanks/Scripts/Tank.cs index 1b856f9fe..b9f88bdb2 100644 --- a/Assets/Mirror/Examples/Tanks/Scripts/Tank.cs +++ b/Assets/Mirror/Examples/Tanks/Scripts/Tank.cs @@ -21,6 +21,13 @@ public class Tank : NetworkBehaviour [Header("Stats")] [SyncVar] public int health = 4; + SyncVar test = 42; + + SyncList list = new SyncList(); + + public override void OnStartClient() + { + } void Update() {