Search found 5 matches

by dreternal
Tue Nov 02, 2021 8:57 am
Forum: Dialogue System for Unity
Topic: [HOWTO] How To: Fix Code Editor Not Recognizing Dialogue System Namespace
Replies: 2
Views: 490

Re: [HOWTO] How To: Fix Code Editor Not Recognizing Dialogue System Namespace

That got most of the way there, thanks! Followed each step, but now I'm just getting one error (which is enough) ;) Assets\Plugins\Pixel Crushers\Dialogue System\Wrappers\Editor\CustomLuaFunctionInfo.cs(13,71): error CS0234: The type or namespace name 'CustomLuaFunctionInfo' does not exist in the na...
by dreternal
Tue Nov 02, 2021 8:29 am
Forum: Dialogue System for Unity
Topic: Type/namespace not found!
Replies: 1
Views: 152

Type/namespace not found!

Getting this in Unity:



The files are in Plugins/Pixel Crushers, and everything compiles ok until I start to try to access the Dialogue classes.

Ideas?

Windows 11
Unity 2021.1.7f
Dialog System for Unity 2.2.18
by dreternal
Sun Oct 24, 2021 5:35 am
Forum: Dialogue System for Unity
Topic: C#/Lua functions executed on wrong instance?
Replies: 4
Views: 420

Re: C#/Lua functions executed on wrong instance?

Screenshot showing that I am interacting with NPC2 but NPC1 is getting methods called.

by dreternal
Sun Oct 24, 2021 5:29 am
Forum: Dialogue System for Unity
Topic: C#/Lua functions executed on wrong instance?
Replies: 4
Views: 420

Re: C#/Lua functions executed on wrong instance?

Thanks for that. I have modified my code, but apparently, DialogueManager.currentConversant is always returning the same GameObject, no matter who I'm talking to.
by dreternal
Sat Oct 23, 2021 11:18 am
Forum: Dialogue System for Unity
Topic: C#/Lua functions executed on wrong instance?
Replies: 4
Views: 420

C#/Lua functions executed on wrong instance?

I have two boxes set up as NPCs (actors). Call them Instance01 and Instace02. If I interact with either one, and call a custom FollowMe() function I have in C#, the method is always called on Instance01 even if I'm only interacting with Instance02. Lua.RegisterFunction("Follow", this, Symb...