The player's subtitle panel overrides the Standard UI Subtitle panels 'OpenStartConversation' method to show the players portrait always; we suspect that this prevents the show animation from triggering.
We use this script to show the player's portrait from the start of the converstaion:
Code: Select all
using System.Collections;
using UnityEngine;
namespace PixelCrushers.DialogueSystem
{
public class StefanoSMSSubtitlePanel : StandardUISubtitlePanel
{
public override void OpenOnStartConversation(Sprite portraitSprite, string portraitName, DialogueActor dialogueActor)
{
DialogueManager.instance.StartCoroutine(SetPortraitImageWhenOpen(portraitSprite));
}
private IEnumerator SetPortraitImageWhenOpen(Sprite portraitSprite)
{
yield return CoroutineUtility.endOfFrame;
SetPortraitImage(portraitSprite);
}
}
}