I recently started to work with Unity 2021.2 and I found out BuildTargetGroup was being replaced by NamedBuildTarget. Previously, the currently targeted BuildTargetGroup could be retrieved from EditorUserBuildSettings.activeBuildTarget. In Unity 2021.2, I can't figure out what is supposed to replace this function.
How do you retrieve the currently targeted NamedBuildTarget ?
↧