This commit is contained in:
vis2k 2021-08-08 18:34:09 +08:00
parent 046e6d45f7
commit f88c3af277

View File

@ -120,9 +120,7 @@ public void TooManyComponents()
// add 65 components
for (int i = 0; i < 65; ++i)
{
gameObject.AddComponent<SerializeTest1NetworkBehaviour>();
}
// CreateNetworked already initializes the components.
// let's reset and initialize again with the added ones.