Search found 17 matches
- Fri Nov 17, 2023 12:05 am
- Forum: Dialogue System for Unity
- Topic: Lua.RegisterFunction with enums
- Replies: 3
- Views: 330
Re: Lua.RegisterFunction with enums
Amazing thanks!
- Thu Nov 16, 2023 6:50 pm
- Forum: Dialogue System for Unity
- Topic: Lua.RegisterFunction with enums
- Replies: 3
- Views: 330
Lua.RegisterFunction with enums
Hello! :) Is it possible to have enums when registering a custom Lua function? e.g. public enum ShopType { general, card, cardDiscard, randomCard, randomItem, ingredient, randomIngredient, armour, } public ShopType shopType; Lua.RegisterFunction(nameof(TriggerShop), this, SymbolExtensions.GetMethodI...
- Mon Jun 19, 2023 6:14 am
- Forum: Dialogue System for Unity
- Topic: Reusing conversations
- Replies: 13
- Views: 650
Re: Reusing conversations
I re-imported and moved the "editor default resources" folder, so the icons exist, but still same problemo with the WaitForMessage not waiting for message
- Sun Jun 18, 2023 9:35 pm
- Forum: Dialogue System for Unity
- Topic: moving canvas out of dialogue manager prefab hierarchy
- Replies: 7
- Views: 333
Re: moving canvas out of dialogue manager prefab hierarchy
But the canvas does persist across scenes? As in I'm moving the canvas from under the DialogueManager (singleton) to under UIManager (singleton).
- Sun Jun 18, 2023 9:34 pm
- Forum: Dialogue System for Unity
- Topic: Reusing conversations
- Replies: 13
- Views: 650
Re: Reusing conversations
Ok sweet! The WaitForMessage part of the problemo seems to still be present. Where a = instantiate a button, and b = player presses button, which sends message "continueConversation". wait.jpg The dialogue doesn't seem to WaitForMessage regardless of above (dialogue window persists and dia...
- Sun Jun 18, 2023 7:36 am
- Forum: Dialogue System for Unity
- Topic: moving canvas out of dialogue manager prefab hierarchy
- Replies: 7
- Views: 333
Re: moving canvas out of dialogue manager prefab hierarchy
I see! For some reason though, the conversations won't play if I move the canvas out of dialogue manager's hierarchy?
Is it because it breaks the prefab or some other connection?
Is it because it breaks the prefab or some other connection?
- Sun Jun 18, 2023 7:21 am
- Forum: Dialogue System for Unity
- Topic: Reusing conversations
- Replies: 13
- Views: 650
Re: Reusing conversations
I'm getting this warning (and same for PushConversation): Dialogue System: Can't find any built-in sequencer command named PopConversationPosition() or a sequencer command component named SequencerCommandPopConversationPosition() UnityEngine.Debug:LogWarning (object) PixelCrushers.DialogueSystem.Seq...
- Tue Jun 13, 2023 2:33 am
- Forum: Dialogue System for Unity
- Topic: Reusing conversations
- Replies: 13
- Views: 650
Re: Reusing conversations
Just testing this WaitForMessage stuff, and I feel like I'm missing something:
The dialogue just continues to play on without waiting for "continueConversation" message.
The dialogue just continues to play on without waiting for "continueConversation" message.
- Tue Jun 13, 2023 2:26 am
- Forum: Dialogue System for Unity
- Topic: moving canvas out of dialogue manager prefab hierarchy
- Replies: 7
- Views: 333
Re: moving canvas out of dialogue manager prefab hierarchy
I'm moving it to under a UIManager object which is also a peristent singleton - not sure if that helps!
The reasoning is mostly just for keeping track of things, and being able to easily reference all the canvas active in a scene via the UIManager!
The reasoning is mostly just for keeping track of things, and being able to easily reference all the canvas active in a scene via the UIManager!
- Mon Jun 12, 2023 12:07 am
- Forum: Dialogue System for Unity
- Topic: moving canvas out of dialogue manager prefab hierarchy
- Replies: 7
- Views: 333
moving canvas out of dialogue manager prefab hierarchy
hello!
is it possible to move the Canvas child object from the DialogueManager prefab?
When I tried, the conversations wouldn't play anymore.
is it possible to move the Canvas child object from the DialogueManager prefab?
When I tried, the conversations wouldn't play anymore.