Version: 2023.2

BuildOptions.AllowDebugging

切换到手册

描述

Allow script debuggers to attach to the Player remotely. You can debug your scripts only if you use BuildOptions.Development.

另请参阅:BuildPipeline.BuildPlayer