Class NetworkVariableBaseInitializesWhenPersisted
  
  
  
    Inheritance
    
    
    NetworkVariableBaseInitializesWhenPersisted
   
  
  
  Assembly: Unity.Netcode.RuntimeTests.dll
  Syntax
  
    [TestFixture(new object[] { NetworkTopologyTypes.ClientServer, NetcodeIntegrationTest.HostOrServer.Server })]
[TestFixture(new object[] { NetworkTopologyTypes.ClientServer, NetcodeIntegrationTest.HostOrServer.Host })]
[TestFixture(new object[] { NetworkTopologyTypes.DistributedAuthority, NetcodeIntegrationTest.HostOrServer.DAHost })]
public class NetworkVariableBaseInitializesWhenPersisted : NetcodeIntegrationTest
   
  Constructors
  
  NetworkVariableBaseInitializesWhenPersisted(NetworkTopologyTypes, HostOrServer)
  
  
  Declaration
  
    public NetworkVariableBaseInitializesWhenPersisted(NetworkTopologyTypes networkTopologyTypes, NetcodeIntegrationTest.HostOrServer hostOrServer)
   
  Parameters
  
  Properties
  
  NumberOfClients
  
  
  Declaration
  
    protected override int NumberOfClients { get; }
   
  Property Value
  
  Overrides
  
  Methods
  
  OnOneTimeSetup()
  
  
  Declaration
  
    protected override void OnOneTimeSetup()
   
  Overrides
  
  
  OnOneTimeTearDown()
  Override this method to do handle cleaning up once the test(s)
within the child derived class have completed
Note: For AllTests mode
this is called before ShutdownAndCleanUp.
 
  
  Declaration
  
    protected override void OnOneTimeTearDown()
   
  Overrides
  
  
  OnServerAndClientsCreated()
  This is invoked before the server and client(s) are started.
Override this method if you want to make any adjustments to their
NetworkManager instances.
 
  
  Declaration
  
    protected override void OnServerAndClientsCreated()
   
  Overrides
  
  
  OnTearDown()
  Note: For PerTest mode
this is called before ShutdownAndCleanUp.
 
  
  Declaration
  
    protected override IEnumerator OnTearDown()
   
  Returns
  
  Overrides
  
  
  PrefabSessionIstantiationPass(int)
  
  
  Declaration
  
    [UnityTest]
public IEnumerator PrefabSessionIstantiationPass(int iterationsLeft)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | int | 
        iterationsLeft | 
         | 
      
    
  
  Returns