从公共蓝图开始
- UE特异性变量类型
- 使用蓝图函数库可以构建公共的蓝图,以实现某些纯逻辑功能模块,比如加载模块
- 关卡是有其独有的关卡蓝图的,可以在里面做一些关卡加载完成或者销毁时的处理
打Android包
- 官方文档
- 踩坑合集
- 不同的UE版本对应的Android Studio的版本不一致,需要严格遵从官方文档的推荐,否则编译不通过
- gradle下载解决方案
- 对于其余工程,可以在gradle.properties中加入,UE每次重编会删除此文件并重新生成,所以在这里写了没用
systemProp.http.proxyHost=192.168.6.136 systemProp.http.proxyPort=808 systemProp.https.proxyHost=192.168.6.136 systemProp.https.proxyPort=808
- 对于UE工程只能在
UE安装目录\Engine\Build\Android\Java\gradle
中修改build.gradle
// Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { repositories { //google() //mavenCentral() maven { url 'https://maven.aliyun.com/repository/jcenter' } maven { url 'https://maven.aliyun.com/repository/google' } maven { url 'https://maven.aliyun.com/repository/central' } maven { url 'https://maven.aliyun.com/repository/gradle-plugin' } // jcenter() } dependencies { classpath project.hasProperty('ANDROID_TOOLS_BUILD_GRADLE_VERSION') ? project.property('ANDROID_TOOLS_BUILD_GRADLE_VERSION') : 'com.android.tools.build:gradle:3.5.3' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files } apply from: 'buildscriptAdditions.gradle', to: buildscript } apply from: 'baseBuildAdditions.gradle' allprojects { repositories { //google() //mavenCentral() maven { url 'https://maven.aliyun.com/repository/jcenter' } maven { url 'https://maven.aliyun.com/repository/google' } maven { url 'https://maven.aliyun.com/repository/central' } maven { url 'https://maven.aliyun.com/repository/gradle-plugin' } // jcenter() } } task clean(type: Delete) { delete rootProject.buildDir }
发表回复