Camera Angle Editor isn't available from the Tools Menu

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
Matt
Posts: 5
Joined: Sun Aug 20, 2023 10:58 am

Camera Angle Editor isn't available from the Tools Menu

Post 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
User avatar
Tony Li
Posts: 21681
Joined: Thu Jul 18, 2013 1:27 pm

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

Post by Tony Li »

Hi,

Do you see it here by any chance?

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

If not, are there any errors or warnings in the Console window?
Matt
Posts: 5
Joined: Sun Aug 20, 2023 10:58 am

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

Post 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 405 times
Screenshot 2023-08-21 at 08.04.00.png
Screenshot 2023-08-21 at 08.04.00.png (444.5 KiB) Viewed 405 times
Thanks,
Matt
User avatar
Tony Li
Posts: 21681
Joined: Thu Jul 18, 2013 1:27 pm

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

Post 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.
Matt
Posts: 5
Joined: Sun Aug 20, 2023 10:58 am

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

Post 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 400 times
User avatar
Tony Li
Posts: 21681
Joined: Thu Jul 18, 2013 1:27 pm

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

Post 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?
Matt
Posts: 5
Joined: Sun Aug 20, 2023 10:58 am

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

Post 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 398 times
Strange. Maybe it's a Unity bug, as you said.

Thanks for helping me out anyway.
User avatar
Tony Li
Posts: 21681
Joined: Thu Jul 18, 2013 1:27 pm

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

Post 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.
Matt
Posts: 5
Joined: Sun Aug 20, 2023 10:58 am

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

Post by Matt »

Will do. Thanks again for your help.
User avatar
Tony Li
Posts: 21681
Joined: Thu Jul 18, 2013 1:27 pm

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

Post by Tony Li »

Glad to help!
Post Reply