示例#1
0
    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))));
        }
    }
示例#2
0
 private void DisplayNext(Step giveStep)
 {
     pathOfNextCSV = EnumUtils.ChangeToPath(EnumUtils.ChangeToEnum(giveStep.get(1)));
     TreatCSV();
 }