Hello,
I'm struggling with the "wait engine" function. Usually it works fine, but in this action list, the game doesn't go to the next action, it remains on the "wait engine". ( the game is not frozen but the actionlist doesn't go on). Any idea about what i did wrong ? Thanks !
NB : the action list runs in background
Comments
public ActionList Enigme2;
public ActionList Enigme3;
}
void Update()
{
if (pageDragging&&interactable)
{
UpdateBook();
}
//Debug.Log("mouse local pos:" + transformPoint(Input.mousePosition));
//Debug.Log("mouse pos:" + Input.mousePosition);
// lancement des ActionsList si on est à la bonne page
if (currentPage == 4 ) Enigme1.Interact();
if (currentPage == 6) Enigme2.Interact();
if (currentPage == 10) Enigme3.Interact();
}
}