From 4423485a2fc7b92d4eb8727a826c6afcedd01f23 Mon Sep 17 00:00:00 2001 From: Stefan Richter <o-s-r1993@web.de> Date: Fri, 17 May 2024 12:56:49 +0200 Subject: [PATCH] Update Readme --- .../StreamingAssets/README_StreamingAssets.md | 35 ++++++++++--------- 1 file changed, 19 insertions(+), 16 deletions(-) diff --git a/Assets/StreamingAssets/README_StreamingAssets.md b/Assets/StreamingAssets/README_StreamingAssets.md index 7f203fc0..bff862c4 100644 --- a/Assets/StreamingAssets/README_StreamingAssets.md +++ b/Assets/StreamingAssets/README_StreamingAssets.md @@ -2,22 +2,25 @@ For OperatingSystem Android: please register all Files in StreamingAssetLoader! ## StreamToPersistentDataPath: -All files and subfolders will be copied to PersistentDataPath. -Will be triggered on first time installing the game or with the corresponding restart buttons. -Exception: Files with "meta" in the name. - +All files and subfolders will be copied to PersistentDataPath. +Will be triggered on first time installing the game or with the corresponding restart buttons. +Exception: Files with "meta" in the name. + ## StreamToDataPath_withHandler: -Will be triggered on each start of the game. -If Operatingsystem is Android, then: - - All files and subfolders will be copied to PersistentDataPath. - - Exception: Files with "meta" in the name. -If Operatingsystem is other than Android, then: - - All files and subfolders will be copied to DataPath. - - Exception: Files with "meta" in the name. +Will be triggered on each start of the game. +1. If app played in UnityEditor, then: + - All files and subfolders will be copied to PersistentDataPath. + - Exception: Files with "meta" in the name. +2. Else, if Operatingsystem is Android, then: + - All files and subfolders will be copied to PersistentDataPath. + - Exception: Files with "meta" in the name. +3. Else, if Operatingsystem is other than Android, then: + - All files and subfolders will be copied to DataPath. + - Exception: Files with "meta" in the name. ## StreamToDataPath: -All files and subfolders will be copied to DataPath. -Will be triggered on each start of the game. -Exception: Files with "meta" in the name. --> Use StreamToDataPath only for debugging. --> Otherwise use StreamToDataPath_withHandler \ No newline at end of file +All files and subfolders will be copied to DataPath. +Will be triggered on each start of the game. +Exception: Files with "meta" in the name. +-> Use StreamToDataPath only for debugging. +-> Otherwise use StreamToDataPath_withHandler \ No newline at end of file -- GitLab