updateUnity method
Implementation
@override
Future updateUnity(UnityEnvironment unityEnvironment) async {
final success = await UpdateUnity(
workspace: unityEnvironment.androidUnityFullPath,
unityEnginePath: unityEnvironment.unityEnginePath,
platform: UnityPlatform.android,
).update();
if (!success) {
logger.log('导出Android Unity最新的包失败!', status: LogStatus.error);
exit(2);
}
logger.log('导出Android Unity最新的包成功!', status: LogStatus.success);
}