Page 1 of 1

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

Posted: Thu Jun 02, 2016 9:59 pm
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

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

Posted: Thu Jun 02, 2016 10:36 pm
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.