Search found 10 matches

by Ducky
Mon Jun 15, 2020 1:22 pm
Forum: Dialogue System for Unity
Topic: How to use Spine Actors as Portraits?
Replies: 12
Views: 1300

Re: How to use Spine Actors as Portraits?

Sadly, I've already done that. It only seems to work when the characters are already in the scene and not under a Subtitle Panel. Also when I try spawning them (through the dialogue sequencer) it doesn't work. Does work if I spawn them (not using sequencer) before starting the conversation and not b...
by Ducky
Mon Jun 15, 2020 12:01 am
Forum: Dialogue System for Unity
Topic: How to use Spine Actors as Portraits?
Replies: 12
Views: 1300

Re: How to use Spine Actors as Portraits?

I've also realized in StartConversation() I only added the title and not the actor and conversant, this could be the issue of the fields being null. I can't attach anything to the fields because I don't have any actors in the scene yet. I wanted the dialogue system to show the Spine Actors and set t...
by Ducky
Sun Jun 14, 2020 11:42 pm
Forum: Dialogue System for Unity
Topic: How to use Spine Actors as Portraits?
Replies: 12
Views: 1300

Re: How to use Spine Actors as Portraits?

I tried the debug and it shows no name for both fields. I've check the dialogue and I've set it to who I want to speak but still doesn't work. Is there a way to set the field manually?
by Ducky
Fri Jun 12, 2020 4:37 am
Forum: Dialogue System for Unity
Topic: How to use Spine Actors as Portraits?
Replies: 12
Views: 1300

Re: How to use Spine Actors as Portraits?

Thanks for the extra help! It helped me with the following code below. The only issue is that when I try to play an animation it cannot find the speaker. I was wondering do I need set the speaker through code? SpineShowActorUI using UnityEngine; using PixelCrushers.DialogueSystem.SpineSupport; names...
by Ducky
Tue Jun 09, 2020 11:48 am
Forum: Dialogue System for Unity
Topic: How to use Spine Actors as Portraits?
Replies: 12
Views: 1300

Re: How to use Spine Actors as Portraits?

Yeah I was wondering if I can edit the code or something. But thanks for information. I'm adding a seperate Database which will hold all the Spine GameObjects and can access them with a string (actorName). Right now, I'm trying to add SpineAnimation() to the typewriter to play talking animation on t...
by Ducky
Mon Jun 08, 2020 10:50 am
Forum: Dialogue System for Unity
Topic: How to use Spine Actors as Portraits?
Replies: 12
Views: 1300

Re: How to use Spine Actors as Portraits?

Thanks for the reply but I'm not sure if this method works if I'm going to have 50+ characters. Because the project will be on mobile, it might be too much idle information. This is why I want to swap actors like you can with Portraits. (Even if I Destroy and Instantiate another one) I also got the ...
by Ducky
Mon Jun 08, 2020 2:55 am
Forum: Dialogue System for Unity
Topic: How to use Spine Actors as Portraits?
Replies: 12
Views: 1300

How to use Spine Actors as Portraits?

Hey, I've been reading through the documents but I'm struggling to understand how I can use my Spine models like you would with the default portraits that the database provides. Ideally, I want the Actor to pop up like normal and call animations based on the Dialogue Node plus inside the text (may n...
by Ducky
Wed Jun 03, 2020 11:57 pm
Forum: Dialogue System for Unity
Topic: How to: Calculate duration of the Typewriter Effect
Replies: 5
Views: 855

Re: How to: Calculate duration of the Typewriter Effect

Sorry for the late reply but thank you for your help! :D
by Ducky
Mon Apr 27, 2020 5:26 am
Forum: Dialogue System for Unity
Topic: How to: Calculate duration of the Typewriter Effect
Replies: 5
Views: 855

Re: How to: Calculate duration of the Typewriter Effect

Hey, Thank you for replying to me! I managed to create a script that inherits 'Standard Dialogue UI" and created a public function that links UnityUITypewriterEffect from the NPC's Subtitle Text. From there, I can grab charactersPerSecond plus use it's events (OnBegin, OnEnd) to turn on and off...
by Ducky
Fri Apr 24, 2020 2:54 am
Forum: Dialogue System for Unity
Topic: How to: Calculate duration of the Typewriter Effect
Replies: 5
Views: 855

How to: Calculate duration of the Typewriter Effect

Hey, I'm using the dialogue system with talking animations. I've set it up so onConversationLine it will play a looped talking animation and stop onConversationLineEnd and onConversationLineCancelled. The issue I'm having is that the character will keep talking after all the text is being presented ...