Using Custom Prop Drawer: Missing PixelCrushers.DialogueSystem.EditorTools?

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
sazr
Posts: 5
Joined: Thu Jun 02, 2016 9:29 pm

Using Custom Prop Drawer: Missing PixelCrushers.DialogueSystem.EditorTools?

Post by sazr »

Hi,

I'm attempting to use the Dialogue System's custom property drawer. I'm following the tutorial/reference below and it uses the class `PixelCrushers.DialogueSystem.EditorTools`.

Tutorial: http://www.pixelcrushers.com/dialogue_s ... awers.html

But I dont have the `EditorTools` class? See my screenshot below, theres no `EditorTools` class? Any idea whats going wrong?

Image
http://i67.tinypic.com/fumgzo.jpg
User avatar
Tony Li
Posts: 22107
Joined: Thu Jul 18, 2013 1:27 pm

Re: Using Custom Prop Drawer: Missing PixelCrushers.DialogueSystem.EditorTools?

Post by Tony Li »

Hi,

Sorry, I don't know what's going on. I just tested this simple script and works:

Code: Select all

using UnityEngine;
using UnityEditor;
using PixelCrushers.DialogueSystem;
using PixelCrushers.DialogueSystem.Articy.Articy_2_4;

[CustomEditor(typeof(MyClass))]
public class PlayLoudEditor : Editor {
    public void OnEnable() {
        PixelCrushers.DialogueSystem.EditorTools.SetInitialDatabaseIfNull();
    }
}
Would it be possible for you to send a reproduction project to tony (at) pixelcrushers.com and let me know what version of Unity to use?

I'm finishing up work for the day, but I'll be able to check it tomorrow. (I'm traveling in the morning, so I'm afraid it'll be a little later than usual.)

Does it compile anyway, even if Monodevelop isn't finding the EditorTools class?

Here's the EditorTools API reference if it's any help.
Post Reply