示例#1
0
 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;
     }
 }
示例#2
0
 public void SetTestingType()
 {
     //MyType = type;
     //Debug.Log(TestingTypeDropdown.value);
     MyType = (TestingType)TestingTypeDropdown.value;
 }