private void DisplayCondition(Step giveStep) { string index = giveStep.get(1); bool res; /*res = */ dicoBool.TryGetValue(index, out res); Debug.Log("Cond is on : " + index); if (res) { ExecutePath(EnumUtils.ChangeToPath(EnumUtils.ChangeToEnum(giveStep.get(2)))); } else { ExecutePath(EnumUtils.ChangeToPath(EnumUtils.ChangeToEnum(giveStep.get(3)))); } }
private void DisplayNext(Step giveStep) { pathOfNextCSV = EnumUtils.ChangeToPath(EnumUtils.ChangeToEnum(giveStep.get(1))); TreatCSV(); }