u5.3.6p8
ac1.54c
Hi.
I'm working on a hack that I can gather text (add new line ids and update text for existing actions) for the currently open ActionList in the ActionListEditorWindow.
The gather text button in the settings takes a long time and always kicks me out of the scene and opens a random one.
I added
if (ToolbarButton (position.width-(buttonWidth*7f), buttonWidth*1.5f, showLabel, "Gather text", 6))
{
if (isAsset)
{
AC.KickStarter.speechManager.ProcessActionListAsset(windowData.targetAsset,true);
}
else
{
AC.KickStarter.speechManager.ProcessActionList(windowData.target,true);
}
}
in the ActionListEditorWindow.cs and set the ProcessAction... public in the speech manager.
public void ProcessActionListAsset (ActionListAsset actionListAsset, bool onlySeekNew)
public void ProcessActionList (ActionList actionList, bool onlySeekNew)
Now ...
If onlySeekNew = true
It sets new ids for new speech actions, which is good.
But it doesn't update the speech actions where I changed text.
so when onlySeekNew = false
I face the problem that all actions get new lineids
Could you give me a hint?
Comments