private void Initiate(string Value, ref TestingType testingType) { switch (Value.ToLower()) { case "builtin" : testingType = TestingType.BuiltIn; break; case "separeted": testingType = TestingType.Separeted; break; default: testingType = TestingType.InBrowser; break; } }
public void SetTestingType() { //MyType = type; //Debug.Log(TestingTypeDropdown.value); MyType = (TestingType)TestingTypeDropdown.value; }