Page 1 of 1

Using UnityEditor

Posted: Sun May 15, 2022 3:00 pm
by PayasoPrince
Hello,

To my understanding you cannot build your game if you have classes that have:

Code: Select all

using UnityEditor
However, it looks like many classes in The Dialogue Manager asset use this.

How do I handle this?

Re: Using UnityEditor

Posted: Sun May 15, 2022 6:52 pm
by Tony Li
Hi,

Only scripts that are in Editor folders use "using UnityEditor". These scripts are not included in builds. Instead, they provide the code for the Dialogue System's custom editors that run in the Unity editor.

Are you having difficulty building? If so, what are the errors?