Class DictionaryCollectionUpdateHelper
Helper class to test adding NetworkVariable<T> dictionary entries rapidly with frequent ownership changes. This includes a companion NetworkVariable<T> integer that is continually incremented and used as the key value for each entry.
Inheritance
DictionaryCollectionUpdateHelper
Inherited Members
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: Unity.Netcode.RuntimeTests
Assembly: Unity.Netcode.RuntimeTests.dll
Syntax
public class DictionaryCollectionUpdateHelper : BaseCollectionUpdateHelper
Methods
AddItem()
Declaration
protected override void AddItem()
Overrides
OnClear()
Declaration
protected override void OnClear()
Overrides
OnValidateAgainst(BaseCollectionUpdateHelper)
Declaration
protected override bool OnValidateAgainst(BaseCollectionUpdateHelper otherHelper)
Parameters
Type | Name | Description |
---|---|---|
BaseCollectionUpdateHelper | otherHelper |
Returns
Type | Description |
---|---|
bool |