1. // If checked, UE4Game files will be placed in ExternalFilesDir which is removed on uninstall.
  2. // You should also check this if you need to save you game progress without requesting runtime WRITE_EXTERNAL_STORAGE permission in android api 23+
  3. UPROPERTY(GlobalConfig, EditAnywhere, Category = APKPackaging, Meta = (DisplayName = “Use ExternalFilesDir for UE4Game files?”))
  4. bool bUseExternalFilesDir;

描述的意思大概是如果为true, UE4Game将会使用手机里的外部存储路径,并且卸载游戏时会自动删除.
但是实际测试后发现为true时,使用的是/SDCard/Android/data/ com.xxxx.xxxx 的内部存储路径,与描述以及变量名自身的意思相反

1 Like