Page 1 of 1

Camera Angle Editor isn't available from the Tools Menu

Posted: Sun Aug 20, 2023 11:06 am
by Matt
Hi Everyone

According to the documentation the Camera Angle Editor is available from: Tools → Pixel Crushers → Dialogue System → Tools → Camera Angle Editor.

However, when I navigate to 'Tools → Pixel Crushers → Dialogue System' I don't see an option of Tools.

The only options I see from 'Tools → Pixel Crushers → Dialogue System' are the following:
-Welcome Window
-Dialogue Editor
-Help
-Import
-Wizards
-Extras

I'm using Dialogue System for Unity v2.2.39 and Unity 2022.3.6f1.

Anybody got any ideas what I'm doing wrong?

Thanks,
Matt

Re: Camera Angle Editor isn't available from the Tools Menu

Posted: Sun Aug 20, 2023 8:14 pm
by Tony Li
Hi,

Do you see it here by any chance?

cameraAngleEditor.png
cameraAngleEditor.png (80.04 KiB) Viewed 430 times

If not, are there any errors or warnings in the Console window?

Re: Camera Angle Editor isn't available from the Tools Menu

Posted: Mon Aug 21, 2023 3:12 am
by Matt
Hi Tony

Thanks for your reply.

No, I don't see it there. There aren't any messages in the console.

Please see screenshots attached.
Screenshot 2023-08-21 at 08.09.52.png
Screenshot 2023-08-21 at 08.09.52.png (45.51 KiB) Viewed 427 times
Screenshot 2023-08-21 at 08.04.00.png
Screenshot 2023-08-21 at 08.04.00.png (444.5 KiB) Viewed 427 times
Thanks,
Matt

Re: Camera Angle Editor isn't available from the Tools Menu

Posted: Mon Aug 21, 2023 8:20 am
by Tony Li
In your project, are any of these files present?
  • Assets / Plugins / Pixel Crushers / Dialogue System / Scripts / Editor / Dialogue Editor / VariableViewWindow.cs
  • Assets / Plugins / Pixel Crushers / Dialogue System / Scripts / Editor / Tools / CameraAngleEditor.cs
  • Assets / Plugins / Pixel Crushers / Dialogue System / Scripts / Editor / Tools / Localization Tool / LocalizationToolsWindow.cs
  • Assets / Plugins / Pixel Crushers / Dialogue System / Scripts / Editor / Tools / UniqueIDWindow.cs
  • Assets / Plugins / Pixel Crushers / Dialogue System / Scripts / Editor / Tools / Renamer / DialogueSystemAssetRenamerWindow.cs.
They should all appear in the Tools submenu.

Re: Camera Angle Editor isn't available from the Tools Menu

Posted: Mon Aug 21, 2023 10:19 am
by Matt
Yep, looks like it. Please see attached screenshot.
Screenshot 2023-08-21 at 14.37.49.png
Screenshot 2023-08-21 at 14.37.49.png (155 KiB) Viewed 422 times

Re: Camera Angle Editor isn't available from the Tools Menu

Posted: Mon Aug 21, 2023 11:00 am
by Tony Li
Hi,

I don't know how to explain that, unless it's a Unity editor bug.

Try changing line 25 of CameraAngleEditor.cs to:

Code: Select all

[MenuItem("Tools/Pixel Crushers/Dialogue System/Camera Angle Editor", false, 3)]
Does the Camera Angle Editor menu item appear in Tools > Pixel Crushers > Dialogue System?

Re: Camera Angle Editor isn't available from the Tools Menu

Posted: Mon Aug 21, 2023 11:59 am
by Matt
Yep, that works!
Screenshot 2023-08-21 at 16.59.01.png
Screenshot 2023-08-21 at 16.59.01.png (259.62 KiB) Viewed 420 times
Strange. Maybe it's a Unity bug, as you said.

Thanks for helping me out anyway.

Re: Camera Angle Editor isn't available from the Tools Menu

Posted: Mon Aug 21, 2023 12:03 pm
by Tony Li
Hi,

It's a hack, but you could edit the [MenuItem] attributes of all of those scripts listed above to move them out of the "Tools" submenu if you need to access them. Maybe it's fixed in 2022.3.7.

Re: Camera Angle Editor isn't available from the Tools Menu

Posted: Mon Aug 21, 2023 12:33 pm
by Matt
Will do. Thanks again for your help.

Re: Camera Angle Editor isn't available from the Tools Menu

Posted: Mon Aug 21, 2023 3:21 pm
by Tony Li
Glad to help!