From 15740faf9fe9fe4be08965098bbf2947e096aeeb Mon Sep 17 00:00:00 2001 From: chai Date: Wed, 14 Aug 2019 22:50:43 +0800 Subject: +Unity Runtime code --- Runtime/File/ApplicationSpecificPersistentDataPath.h | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 Runtime/File/ApplicationSpecificPersistentDataPath.h (limited to 'Runtime/File/ApplicationSpecificPersistentDataPath.h') diff --git a/Runtime/File/ApplicationSpecificPersistentDataPath.h b/Runtime/File/ApplicationSpecificPersistentDataPath.h new file mode 100644 index 0000000..cd251e8 --- /dev/null +++ b/Runtime/File/ApplicationSpecificPersistentDataPath.h @@ -0,0 +1,9 @@ +#pragma once + +std::string GetPersistentDataPathApplicationSpecific(); +std::string GetTemporaryCachePathApplicationSpecific(); +std::string GetAppDataPath(); +std::string GetStreamingAssetsPath(); + +void ConvertToLegalPathNameCorrectly(std::string& path); +void ConvertToLegalPathNameBroken(std::string& path); \ No newline at end of file -- cgit v1.1-26-g67d0