private TextDisplayContent Create(SceneContentDialogue sceneContentDialogue)
        {
            Assert.IsNotNull(sceneContentDialogue);

            Actor actor = _actorProvider.GetActorById(sceneContentDialogue.actorId);

            return(_factory.Create(actor.name, sceneContentDialogue.text));
        }
        private ImageDisplayContent Create(SceneContentDialogue sceneContentDialogue)
        {
            Assert.IsNotNull(sceneContentDialogue);

            Actor actor = _actorProvider.GetActorById(sceneContentDialogue.actorId);

            if (sceneContentDialogue.actorAction == "")
            {
                return(_spritedFactory.Create(actor.sprite));
            }
            else
            {
                AnimationClip animationClip = _actorActionSettings.GetAnimationClipByAction(sceneContentDialogue.actorAction);
                return(_spritedAnimatedFactory.Create(actor.sprite, animationClip));
            }
        }