private static ChatMapper.UserVariable VariableToCmp(DialogueSystem.Variable variable) { ChatMapper.UserVariable cmpUserVariable = new ChatMapper.UserVariable(); cmpUserVariable.Fields = FieldsToCmp(variable.fields); AddRequiredUserVariableFields(cmpUserVariable.Fields); return(cmpUserVariable); }
private static ChatMapper.UserVariable VariableToCmp(DialogueSystem.Variable variable) { ChatMapper.UserVariable cmpUserVariable = new ChatMapper.UserVariable(); cmpUserVariable.Fields = FieldsToCmp(variable.fields); AddRequiredUserVariableFields(cmpUserVariable.Fields); return cmpUserVariable; }