public void Configure(TestConfiguration configuration, TestEnvironment environment) { var discovery = new CustomDiscovery(environment); var execution = new CustomExecution(); configuration.Conventions.Add(discovery, execution); }
// Use this for initialization void Start() { customDiscovery = FindObjectOfType <CustomDiscovery>(); networkManager = FindObjectOfType <CustomNetworkManager>(); // Make sure that no client is currently active if (networkManager.client != null) { networkManager.StopClient(); } // Make sure that the cursor is visible dans usable Cursor.visible = true; Cursor.lockState = CursorLockMode.None; }
private void Start() { networkDiscovery = GetComponent <CustomDiscovery>(); }