fix Unit tests

This commit is contained in:
mischa 2023-05-27 11:47:14 +08:00
parent 3619be494a
commit 22134470ed

View File

@ -69,6 +69,7 @@ public class AttributeTest_NetworkBehaviour
public void SetUp() public void SetUp()
{ {
go = new GameObject(); go = new GameObject();
go.AddComponent<NetworkIdentity>();
behaviour = go.AddComponent<AttributeBehaviour_NetworkBehaviour>(); behaviour = go.AddComponent<AttributeBehaviour_NetworkBehaviour>();
} }