public void Reset()
 {
     Symptoms.Clear();
     Diagnoses.Clear();
     Treatments.Clear();
     DialogList.Clear();
     Variables.ValuesDictionary.Clear();
 }
        public void Copy(FlowDataCache flowDataCache)
        {
            Symptoms.Clear();
            Symptoms.AddRange(flowDataCache.Symptoms);

            Diagnoses.Clear();
            Diagnoses.AddRange(flowDataCache.Diagnoses);

            Treatments.Clear();
            Treatments.AddRange(flowDataCache.Treatments);

            DialogList.Clear();
            DialogList.AddRange(flowDataCache.DialogList);

            Variables.ValuesDictionary.Clear();
            Variables.SetValues(flowDataCache.Variables.ValuesDictionary);
        }
示例#3
0
 private void OnDestroy()
 {
     DialogList.Clear();
     DialogList = null;
 }