Преглед на файлове

Merge branch 'master' of http://192.168.123.2:3000/ck/XiuXianGame

# Conflicts:
#	Assets/Art/VFX/Textures/fx fenglin.png.meta   resolved by origin/master(远端) version
zg преди 1 седмица
родител
ревизия
a08103d7b1

+ 29 - 1
Assets/Art/VFX/Textures/fx fenglin.png.meta

@@ -1,5 +1,5 @@
 fileFormatVersion: 2
 fileFormatVersion: 2
-guid: B30fvC38V36pL186T0QmeAgPojfZojLHVbFD4J73DUqgurlG2b0dqBiFMFnk
+guid: CHpNvCyqBXLc2FUwRRPyedfxPogTscyJv6o8krnRsLOhz9gKgMvfbegUsQ3F
 TextureImporter:
 TextureImporter:
   internalIDToNameTable: []
   internalIDToNameTable: []
   externalObjects: {}
   externalObjects: {}
@@ -112,6 +112,34 @@ TextureImporter:
     ignorePlatformSupport: 0
     ignorePlatformSupport: 0
     androidETC2FallbackOverride: 0
     androidETC2FallbackOverride: 0
     forceMaximumCompressionQuality_BC6H_BC7: 0
     forceMaximumCompressionQuality_BC6H_BC7: 0
+  - serializedVersion: 3
+    buildTarget: Android
+    maxTextureSize: 2048
+    maxPlaceholderSize: 32
+    resizeAlgorithm: 0
+    textureFormat: -1
+    textureCompression: 1
+    compressionQuality: 50
+    crunchedCompression: 0
+    allowsAlphaSplitting: 0
+    overridden: 0
+    ignorePlatformSupport: 0
+    androidETC2FallbackOverride: 0
+    forceMaximumCompressionQuality_BC6H_BC7: 0
+  - serializedVersion: 3
+    buildTarget: WeixinMiniGame
+    maxTextureSize: 2048
+    maxPlaceholderSize: 32
+    resizeAlgorithm: 0
+    textureFormat: -1
+    textureCompression: 1
+    compressionQuality: 50
+    crunchedCompression: 0
+    allowsAlphaSplitting: 0
+    overridden: 0
+    ignorePlatformSupport: 0
+    androidETC2FallbackOverride: 0
+    forceMaximumCompressionQuality_BC6H_BC7: 0
   spriteSheet:
   spriteSheet:
     serializedVersion: 2
     serializedVersion: 2
     sprites: []
     sprites: []

+ 14 - 14
Assets/Scripts/ThirdParty/Crasheye/Crasheye.cs

@@ -108,7 +108,7 @@ public class Crasheye : MonoBehaviour
         }
         }
         else if (Application.platform == RuntimePlatform.WindowsPlayer)
         else if (Application.platform == RuntimePlatform.WindowsPlayer)
         {
         {
-#if UNITY_STANDALONE_WIN
+#if UNITY_STANDALONE_WIN && !UNITY_EDITOR
             DumpForPC.SetURL(url);
             DumpForPC.SetURL(url);
 #endif
 #endif
         }
         }
@@ -122,7 +122,7 @@ public class Crasheye : MonoBehaviour
     public static void SetForceUpload(bool isForceUpload)
     public static void SetForceUpload(bool isForceUpload)
     {
     {
         Debug.Log("SetForceUpload");
         Debug.Log("SetForceUpload");
-#if UNITY_STANDALONE_WIN
+#if UNITY_STANDALONE_WIN  && !UNITY_EDITOR
         DumpForPC.SetForceUpload(isForceUpload);
         DumpForPC.SetForceUpload(isForceUpload);
 #endif
 #endif
     }
     }
@@ -148,7 +148,7 @@ public class Crasheye : MonoBehaviour
         }
         }
         else if (Application.platform == RuntimePlatform.WindowsPlayer)
         else if (Application.platform == RuntimePlatform.WindowsPlayer)
         {
         {
-#if UNITY_STANDALONE_WIN
+#if UNITY_STANDALONE_WIN  && !UNITY_EDITOR
             DumpForPC.Init(Your_AppKey, YourChannelId);
             DumpForPC.Init(Your_AppKey, YourChannelId);
 #endif
 #endif
         }
         }
@@ -178,7 +178,7 @@ public class Crasheye : MonoBehaviour
         }
         }
         else if (Application.platform == RuntimePlatform.WindowsPlayer)
         else if (Application.platform == RuntimePlatform.WindowsPlayer)
         {
         {
-#if UNITY_STANDALONE_WIN
+#if UNITY_STANDALONE_WIN  && !UNITY_EDITOR
             Debug.Log("RegisterLogCallback");
             Debug.Log("RegisterLogCallback");
             AppDomain.CurrentDomain.UnhandledException += DumpForPC.OnHandleUnresolvedException;
             AppDomain.CurrentDomain.UnhandledException += DumpForPC.OnHandleUnresolvedException;
             SetRegisterLogFunction(DumpForPC.OnHandleLogCallback);
             SetRegisterLogFunction(DumpForPC.OnHandleLogCallback);
@@ -291,7 +291,7 @@ public class Crasheye : MonoBehaviour
 #endif
 #endif
         } else if (Application.platform == RuntimePlatform.WindowsPlayer)
         } else if (Application.platform == RuntimePlatform.WindowsPlayer)
         {
         {
-#if UNITY_STANDALONE_WIN
+#if UNITY_STANDALONE_WIN  && !UNITY_EDITOR
             DumpForPC.SendScriptException(errorTitle, stacktrace, language);
             DumpForPC.SendScriptException(errorTitle, stacktrace, language);
 #endif
 #endif
         }
         }
@@ -386,7 +386,7 @@ public class Crasheye : MonoBehaviour
         }
         }
         else if (Application.platform == RuntimePlatform.WindowsPlayer)
         else if (Application.platform == RuntimePlatform.WindowsPlayer)
         {
         {
-#if UNITY_STANDALONE_WIN
+#if UNITY_STANDALONE_WIN && !UNITY_EDITOR
             DumpForPC.SetAppVersion(yourAppVersion);
             DumpForPC.SetAppVersion(yourAppVersion);
 #endif
 #endif
         }
         }
@@ -417,7 +417,7 @@ public class Crasheye : MonoBehaviour
         }
         }
         else if (Application.platform == RuntimePlatform.WindowsPlayer)
         else if (Application.platform == RuntimePlatform.WindowsPlayer)
         {
         {
-#if UNITY_STANDALONE_WIN
+#if UNITY_STANDALONE_WIN && !UNITY_EDITOR
             DumpForPC.SetUserIdentifier_UTF8(userIdentifier);
             DumpForPC.SetUserIdentifier_UTF8(userIdentifier);
 #endif
 #endif
         }
         }
@@ -454,7 +454,7 @@ public class Crasheye : MonoBehaviour
         }
         }
         else if (Application.platform == RuntimePlatform.WindowsPlayer)
         else if (Application.platform == RuntimePlatform.WindowsPlayer)
         {
         {
-#if UNITY_STANDALONE_WIN
+#if UNITY_STANDALONE_WIN && !UNITY_EDITOR
             DumpForPC.AddExtraData(key,value);
             DumpForPC.AddExtraData(key,value);
 #endif
 #endif
         }
         }
@@ -476,7 +476,7 @@ public class Crasheye : MonoBehaviour
         }
         }
         else if (Application.platform == RuntimePlatform.WindowsPlayer)
         else if (Application.platform == RuntimePlatform.WindowsPlayer)
         {
         {
-#if UNITY_STANDALONE_WIN
+#if UNITY_STANDALONE_WIN && !UNITY_EDITOR
             DumpForPC.AddExtraDataUTF8(key, value);
             DumpForPC.AddExtraDataUTF8(key, value);
 #endif
 #endif
         }
         }
@@ -576,7 +576,7 @@ public class Crasheye : MonoBehaviour
         }
         }
         else if (Application.platform == RuntimePlatform.WindowsPlayer)
         else if (Application.platform == RuntimePlatform.WindowsPlayer)
         {
         {
-#if UNITY_STANDALONE_WIN
+#if UNITY_STANDALONE_WIN && !UNITY_EDITOR
             DumpForPC.SetBreadCrumbType(type);
             DumpForPC.SetBreadCrumbType(type);
 #endif
 #endif
         }
         }
@@ -606,7 +606,7 @@ public class Crasheye : MonoBehaviour
 #endif
 #endif
         } else if (Application.platform == RuntimePlatform.WindowsPlayer)
         } else if (Application.platform == RuntimePlatform.WindowsPlayer)
         {
         {
-#if UNITY_STANDALONE_WIN
+#if UNITY_STANDALONE_WIN && !UNITY_EDITOR
             DumpForPC.leaveBreadcrumb(breadcrumb);
             DumpForPC.leaveBreadcrumb(breadcrumb);
 #endif
 #endif
         }
         }
@@ -701,7 +701,7 @@ public class Crasheye : MonoBehaviour
     public static bool SetBackgroundUpload(bool isBackgroundUpload)
     public static bool SetBackgroundUpload(bool isBackgroundUpload)
     {
     {
         
         
-#if UNITY_STANDALONE_WIN
+#if UNITY_STANDALONE_WIN && !UNITY_EDITOR
         return DumpForPC.SetBackgroundUpload(isBackgroundUpload);
         return DumpForPC.SetBackgroundUpload(isBackgroundUpload);
 #endif
 #endif
         return false;
         return false;
@@ -710,7 +710,7 @@ public class Crasheye : MonoBehaviour
     public static bool SetCrashCallback(FnOnCrashCallback pCallback)
     public static bool SetCrashCallback(FnOnCrashCallback pCallback)
     {
     {
 
 
-#if UNITY_STANDALONE_WIN
+#if UNITY_STANDALONE_WIN && !UNITY_EDITOR
         return DumpForPC.SetOnMiniDumpCreateCallBack((bCaptureSucceed, cpszCrashReportFile)=>{
         return DumpForPC.SetOnMiniDumpCreateCallBack((bCaptureSucceed, cpszCrashReportFile)=>{
             string  szCrashReportFile = Marshal.PtrToStringUni(cpszCrashReportFile);
             string  szCrashReportFile = Marshal.PtrToStringUni(cpszCrashReportFile);
             pCallback?.Invoke(bCaptureSucceed, szCrashReportFile);
             pCallback?.Invoke(bCaptureSucceed, szCrashReportFile);
@@ -721,7 +721,7 @@ public class Crasheye : MonoBehaviour
     
     
     public static bool PushLogTrace(string cpszMessage)
     public static bool PushLogTrace(string cpszMessage)
     {
     {
-#if UNITY_STANDALONE_WIN
+#if UNITY_STANDALONE_WIN && !UNITY_EDITOR
         return DumpForPC.PushLogTrace(cpszMessage);
         return DumpForPC.PushLogTrace(cpszMessage);
 #endif
 #endif
         return false;
         return false;

+ 0 - 0
Assets/Plugins/x86_64/DumpForPC.cs → Assets/Scripts/ThirdParty/Crasheye/DumpForPC.cs


+ 0 - 0
Assets/Plugins/x86_64/DumpForPC.cs.meta → Assets/Scripts/ThirdParty/Crasheye/DumpForPC.cs.meta