예제 #1
0
 public void MFSetup()
 {
     TestLingVars = new List <LinguisticVariable>();
     UnityEngine.Object[] jsonLing =
         Resources.LoadAll(
             "TestLinguistics",
             typeof(TextAsset));
     foreach (TextAsset asset in jsonLing)
     {
         TestLingVars.Add(LinguisticVariable.fromJson(asset.text));
     }
     foreach (LinguisticVariable LV in TestLingVars)
     {
         LV.Fuzzification(fuzzificationTestValue);
     }
 }