Update
This commit is contained in:
@@ -52,7 +52,7 @@ namespace Continentis.MainGame
|
||||
|
||||
string expressionToEvaluate = template.Substring(startIndex, endIndex - startIndex + 1);
|
||||
string cleanExpression = expressionToEvaluate.Substring(1);
|
||||
Debug.Log($"Evaluating expression: {cleanExpression}");
|
||||
//Debug.Log($"Evaluating expression: {cleanExpression}");
|
||||
object result = interpreter.Eval(cleanExpression);
|
||||
string resultAsLiteral = result.ToString();
|
||||
template = template.Substring(0, startIndex) + resultAsLiteral + template.Substring(endIndex + 1);
|
||||
|
||||
Reference in New Issue
Block a user