Search found 20993 matches

by Tony Li
Mon Feb 09, 2015 8:10 am
Forum: Dialogue System for Unity
Topic: Trouble displaying a Variable
Replies: 22
Views: 3906

Trouble displaying a Variable

For the “Can’t add script – Can’t add component ‘WatchScale’ because it doesn’t exist.”: 1. Is the file named exactly "WatchScale.cs"? The Project view won't show the file extension. If you see "WatchScale.cs" in the Project view, then the file itself is probably named "Watc...
by Tony Li
Mon Feb 09, 2015 7:25 am
Forum: Dialogue System for Unity
Topic: Minor issues with UnityUIBarkSubtitleDialogueUI and UnityUIBarkUI
Replies: 6
Views: 1198

Minor issues with UnityUIBarkSubtitleDialogueUI and UnityUIBarkUI

The "Hidden" state is just a null state that the animator starts in. You can create a default transition from Hide to Hidden if you like. I just right now did this in the example scene (but not in the version that I sent you earlier today). It doesn't change the way the animator works, but...
by Tony Li
Mon Feb 09, 2015 7:18 am
Forum: Dialogue System for Unity
Topic: Trouble displaying a Variable
Replies: 22
Views: 3906

Trouble displaying a Variable

3844 wrote: To get something to display I’ve copied an Alert gameobject (with a GUILabel script) from a UI prefab and have included that into my Dialogue UI tree, and it’s displaying onscreen. Am I on the right track? Yes, that should work fine. Steps to add the script: 1. Save the script in my seco...
by Tony Li
Mon Feb 09, 2015 5:55 am
Forum: Dialogue System for Unity
Topic: Trouble displaying a Variable
Replies: 22
Views: 3906

Trouble displaying a Variable

The script above assumes that you've set up a Unity UI "Text" element and assigned it to "scaleLabel". If you're using legacy Unity GUI instead: using System.Collections; using PixelCrushers.DialogueSystem; using PixelCrushers.DialogueSystem.UnityGUI; public class WatchScale : Mo...
by Tony Li
Mon Feb 09, 2015 5:25 am
Forum: Dialogue System for Unity
Topic: Trouble displaying a Variable
Replies: 22
Views: 3906

Trouble displaying a Variable

Hi, Add a C# script like this to your scene: using UnityEngine; using System.Collections; using PixelCrushers.DialogueSystem; public class WatchScale : MonoBehaviour { public UnityEngine.UI.Text scaleLabel; //<--Assign this. void Start() { DialogueManager.AddLuaObserver("Variable[scale]", ...
by Tony Li
Mon Feb 09, 2015 5:09 am
Forum: Dialogue System for Unity
Topic: Minor issues with UnityUIBarkSubtitleDialogueUI and UnityUIBarkUI
Replies: 6
Views: 1198

Minor issues with UnityUIBarkSubtitleDialogueUI and UnityUIBarkUI

Please let me know if this updated package fixes the issue for you: UnityUI_Support_2015-02-09. If the animator is in the process of transitioning to the Show state and the Show trigger parameter is set true again, the animator doesn't reset back to false. The bark UI now does this manually to make ...
by Tony Li
Mon Feb 09, 2015 4:53 am
Forum: Dialogue System for Unity
Topic: Minor issues with UnityUIBarkSubtitleDialogueUI and UnityUIBarkUI
Replies: 6
Views: 1198

Minor issues with UnityUIBarkSubtitleDialogueUI and UnityUIBarkUI

Hi,



I can reproduce this issue. I'll try to issue a fix today.


by Tony Li
Sat Feb 07, 2015 3:31 am
Forum: Dialogue System for Unity
Topic: Trouble making continue buttons invisible
Replies: 3
Views: 733

Trouble making continue buttons invisible

Hi, Check these: - Set Text to a single blank space. (This usually does the trick.) - Make sure no textures are assigned to the button states (Disabled, Normal, etc.). - Set Gui Style Name to a button style in your GUI skin that doesn't have any textures assigned. You may want to temporarily assign ...
by Tony Li
Fri Feb 06, 2015 12:37 pm
Forum: Dialogue System for Unity
Topic: Error: Array index is out of range
Replies: 1
Views: 655

Error: Array index is out of range

Hi, Thank you for buying the Dialogue System! It looks like you're using the legacy Unity GUI dialogue UIs and enabling gamepad/keyboard navigation. What UIs are you having problems with? This error message occurs when you've enabled navigation on a panel but you haven't assigned any buttons to the ...