From c57c313dbe9ea096d9bb3b8c16c6ae8b034b7944 Mon Sep 17 00:00:00 2001 From: hevinci Date: Tue, 28 Feb 2023 18:26:10 +0800 Subject: [PATCH] update samples --- .../StreamingAssetsHelper/Editor/StreamingAssetsHelperEditor.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Assets/YooAsset/Samples~/Space Shooter/ThirdParty/StreamingAssetsHelper/Editor/StreamingAssetsHelperEditor.cs b/Assets/YooAsset/Samples~/Space Shooter/ThirdParty/StreamingAssetsHelper/Editor/StreamingAssetsHelperEditor.cs index 8688c70..229dba3 100644 --- a/Assets/YooAsset/Samples~/Space Shooter/ThirdParty/StreamingAssetsHelper/Editor/StreamingAssetsHelperEditor.cs +++ b/Assets/YooAsset/Samples~/Space Shooter/ThirdParty/StreamingAssetsHelper/Editor/StreamingAssetsHelperEditor.cs @@ -2,6 +2,7 @@ // 作者:Stark //------------------------------------- +#if UNITY_ANDROID /// /// 为Github对开发者的友好,采用自动补充UnityPlayerActivity.java文件的通用姿势满足各个开发者 /// @@ -51,6 +52,7 @@ internal class AndroidPost : UnityEditor.Android.IPostGenerateGradleAndroidProje return false; } } +#endif /* //auto-gen-function