private static void OnActiveBuildTargetChanged(BuildTarget oldTarget, BuildTarget newTarget) { string targetStringFromBuildTarget = ModuleManager.GetTargetStringFromBuildTarget(newTarget); ModuleManager.ChangeActivePlatformModuleTo(targetStringFromBuildTarget); }
private static void OnActiveBuildTargetChanged() { ModuleManager.ChangeActivePlatformModuleTo(ModuleManager.GetTargetStringFromBuildTarget(EditorUserBuildSettings.activeBuildTarget)); }