1
\$\begingroup\$
  1. Do Editor scripts or custom editor windows with UIToolkit have an effect on game or engine performance? Even after build?

  2. Do they get built with the game when exporting it?

\$\endgroup\$

1 Answer 1

3
\$\begingroup\$
  1. Editor scripts and custom editor windows using UIToolkit do not affect game or engine performance after the build. They are enclosed within #if UNITY_EDITOR directives, compiled into separate editor-only assemblies, and stripped out during the build process. This ensures they only enhance the development workflow and do not impact the final game.

  2. No, editor scripts and custom editor windows with UIToolkit do not get included in the build when exporting the game. They are enclosed in #if UNITY_EDITOR directives and are only used within the Unity Editor, ensuring they are excluded from the final build.

\$\endgroup\$

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.