Using UnityEditor

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
User avatar
PayasoPrince
Posts: 104
Joined: Thu Jan 27, 2022 6:47 pm

Using UnityEditor

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

Re: Using UnityEditor

Post 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?
Post Reply