Search found 20 matches
- Thu May 11, 2023 8:40 pm
- Forum: Dialogue System for Unity
- Topic: Is there a way to set the text to italic for some text nodes
- Replies: 1
- Views: 126
Is there a way to set the text to italic for some text nodes
Hi, I want to represent/differentiate the thoughts of my characters compared to direct speech by making the text italic. is there an easy way to set the text for some text nodes to italic? I mean I know that I can change the text of the whole panel in the TMP-object but I only want to change it for ...
- Wed Apr 26, 2023 1:57 pm
- Forum: Dialogue System for Unity
- Topic: Problem with registering variables/functions
- Replies: 5
- Views: 590
Re: Problem with registering variables/functions
Thanks. I registered that. But somehow it throws me a TargetParameterCountException Error using UnityEngine; using PixelCrushers.DialogueSystem; using TMPro; using UnityEngine.UI; public class PlayerStats : MonoBehaviour // Rename this class. { public int strenght = 15; public int intelligence = 15;...
- Sun Apr 23, 2023 4:50 pm
- Forum: Dialogue System for Unity
- Topic: Problem with registering variables/functions
- Replies: 5
- Views: 590
Re: Problem with registering variables/functions
Thanks that worked. Another question: How do you register a simple bool variable? I want the player only to be able to increase the intelligence up to 30. So I wrote a small method which checks the intelligence and sets the boolean variable IntelligenceunderThirty to false when the intelligence is 3...
- Sun Apr 23, 2023 3:47 pm
- Forum: Dialogue System for Unity
- Topic: Continue button doesn't work when clicking on text panel
- Replies: 3
- Views: 166
Re: Continue button doesn't work when clicking on text panel
Thanks. That worked like a charm.
- Sun Apr 23, 2023 1:41 pm
- Forum: Dialogue System for Unity
- Topic: Problem with registering variables/functions
- Replies: 5
- Views: 590
Problem with registering variables/functions
Hi, so I am developing an adventure game where you have several stats which should increase after certain conversations. I read up and watched the tutorial about registering variables and accustomed the template accordingly. The code looks something like this: using UnityEngine; using PixelCrushers....
- Sun Apr 23, 2023 11:44 am
- Forum: Dialogue System for Unity
- Topic: Continue button doesn't work when clicking on text panel
- Replies: 3
- Views: 166
Continue button doesn't work when clicking on text panel
Hi,
I stretched my continue button to fill the whole screen and made it transparent, so that you can click anywhere on the screen to continue.
The problem is that it doesn't work if I click somewhere inside the text panel of the dialogue system.
Any idea what I can do to correct this?
Thanks
I stretched my continue button to fill the whole screen and made it transparent, so that you can click anywhere on the screen to continue.
The problem is that it doesn't work if I click somewhere inside the text panel of the dialogue system.
Any idea what I can do to correct this?
Thanks
- Tue Apr 18, 2023 12:35 pm
- Forum: Dialogue System for Unity
- Topic: Trying to change background with sequencer command doesn't work
- Replies: 15
- Views: 782
Re: Trying to change background with sequencer command doesn't work
Found the mistake. I typed in Video1 instead of Video1(). :oops: So now it finds my sequencer command and tries to use it. I added a Video Player to the hierarchy and a Canvas with a RawImage. I added a texture called VideoOutput to the RawImage and set that VideoOutput texture as target texture in ...
- Tue Apr 18, 2023 3:49 am
- Forum: Dialogue System for Unity
- Topic: Trying to change background with sequencer command doesn't work
- Replies: 15
- Views: 782
Re: Trying to change background with sequencer command doesn't work
Strange in my case dialogue system doesn't find my script. The script is saved in the script folder of my project. The namespace is in the script: namespace PixelCrushers.DialogueSystem.SequencerCommands I also think that I named the script/class correctly: public class SequencerCommandVideo1 : Sequ...
- Mon Apr 17, 2023 7:22 pm
- Forum: Dialogue System for Unity
- Topic: Trying to change background with sequencer command doesn't work
- Replies: 15
- Views: 782
Re: Trying to change background with sequencer command doesn't work
So I wrote my own sequencercommand script for displaying a video in the background.
But where do I save my script so that dialogue system can find it?
Drag and drop into the sequencer field doesn't work and I couldn't find anything in the documentation about it.
But where do I save my script so that dialogue system can find it?
Drag and drop into the sequencer field doesn't work and I couldn't find anything in the documentation about it.
- Sun Apr 16, 2023 2:38 pm
- Forum: Dialogue System for Unity
- Topic: Trying to change background with sequencer command doesn't work
- Replies: 15
- Views: 782
Re: Trying to change background with sequencer command doesn't work
Yes, and it works with Addressables. The basic documentation instructs you to put the background images in a folder named Resources. But Unity loads all files in Resources into memory when the game starts, so that's not practical for thousands of images. Instead, import the Addressables package and...