I'm so happy about the DS updates! I'm always amazed by the convenient features

Anyway, I'm currently using DS with the EasySave3.
During on conversation, I've made it so that if the player clicks on an 'Info' UI button, change variables like their name and age at any time. I've linked the name like this in my C#Script:
Code: Select all
public void SaveName()
{
string newSaveName = userName.text;
DataManager.instance.ppDatas.playerName = newSaveName;
DialogueManager.ChangeActorName("Player", newSaveName);
}
but [var=Actor] Tag used in the Dialogue Text didn't change. so:
Code: Select all
DialogueLua.SetVariable("PlayerName", newSaveName);
a better method for the [var=Actor] tag to reflect the changed name immediately?
(Of course, it does change if I restart the conversation or scene,,,, but...)