From f189e5130e96bd18ef94de9ea302579d720799e8 Mon Sep 17 00:00:00 2001
From: cehua-HWJ35 <hwj35@163.com>
Date: 星期一, 13 十一月 2023 16:36:36 +0800
Subject: [PATCH] 1111 同步资源

---
 Assets/Editor/ScriptEditor/NewBieGuideEditorWindow.cs |   82 +++++++++++++++++++++--------------------
 1 files changed, 42 insertions(+), 40 deletions(-)

diff --git a/Assets/Editor/ScriptEditor/NewBieGuideEditorWindow.cs b/Assets/Editor/ScriptEditor/NewBieGuideEditorWindow.cs
index 08e4266..64a4ae5 100644
--- a/Assets/Editor/ScriptEditor/NewBieGuideEditorWindow.cs
+++ b/Assets/Editor/ScriptEditor/NewBieGuideEditorWindow.cs
@@ -1,14 +1,14 @@
-锘縰sing System.Collections;
-using System.Collections.Generic;
-using UnityEngine;
-using UnityEditor;
-using Snxxz.UI;
-using UnityEngine.UI;
-
-
+锘縰sing System.Collections;
+using System.Collections.Generic;
+using UnityEngine;
+using UnityEditor;
+using Snxxz.UI;
+using UnityEngine.UI;
+
+
 public class NewBieGuideEditorWindow : EditorWindow
-{
-    [MenuItem("绋嬪簭/鏂版墜璋冭瘯鍣�")]
+{
+    [MenuItem("绋嬪簭/鏂版墜璋冭瘯鍣�")]
     public static void Create()
     {
         var window = GetWindow(typeof(NewBieGuideEditorWindow), false, "鏂版墜璋冭瘯鍣�") as NewBieGuideEditorWindow;
@@ -157,8 +157,8 @@
         }
 
         EditorGUILayout.EndVertical();
-    }
-
+    }
+
     private void ImportNewBieConfig()
     {
         var fileName = StringUtility.Contact("NewBieGuideStep_", stepId, ".asset");
@@ -270,8 +270,8 @@
         }
 
         Repaint();
-    }
-
+    }
+
     private void ExportNewBieConfig()
     {
         var fileName = StringUtility.Contact("NewBieGuideStep_", stepId, ".asset");
@@ -308,8 +308,8 @@
         AssetDatabase.Refresh();
         EditorUtility.SetDirty(so);
         AssetDatabase.SaveAssets();
-    }
-
+    }
+
     private void ImportRecommondConfig()
     {
         var fileName = StringUtility.Contact("FunctionalGuideStep_", stepId, ".asset");
@@ -363,6 +363,7 @@
             guideContent = so.tipContent;
             arrowPosition = so.arrowPosition;
             selectBox = so.selectBox;
+            effect2 = so.effect2;
             var selectBosAssetName = string.Empty;
             switch (so.selectBox)
             {
@@ -391,8 +392,8 @@
         }
 
         Repaint();
-    }
-
+    }
+
     private void ExportRecommondConfig()
     {
         var fileName = StringUtility.Contact("FunctionalGuideStep_", stepId, ".asset");
@@ -410,6 +411,7 @@
             so.tipContent = guideContent;
             so.arrowPosition = arrowPosition;
             so.selectBox = selectBox;
+            so.effect2 = effect2;
             if (m_ClickTarget != null)
             {
                 so.UIElementPath = UIUtility.GetUIElementRelativePath(uiroot, m_ClickTarget);
@@ -419,14 +421,14 @@
         AssetDatabase.Refresh();
         EditorUtility.SetDirty(so);
         AssetDatabase.SaveAssets();
-    }
-
+    }
+
     private void StartNewBieGuide()
     {
         NewBieCenter.Instance.currentGuide = guideId;
         NewBieCenter.Instance.StartNewBieGuide(guideId);
-    }
-
+    }
+
     private void StartFunctionalGuide()
     {
         FunctionalGuideCenter.Instance.StartGuide(guideId);
@@ -437,18 +439,18 @@
         var instance = UIUtility.CreateWidget("GuideUsher", "GuideUsher");
 
         return instance;
-    }
-
+    }
+
     enum GuideType
     {
         NewBie,        //鏂版墜寮曞锛屽崐寮哄埗鎬х殑銆�
         Recommend,//鍔熻兘鎬у紩瀵硷紝鎺ㄨ崘鎬х殑銆�
-    }
-
-    List<NewBieGuide> newbieGuides = null;
+    }
+
+    List<NewBieGuide> newbieGuides = null;
     List<FunctionalGuide> functionalGuides = null;
-    private Vector2 scrollPosition;
-
+    private Vector2 scrollPosition;
+
     void DrawNewbieGuides()
     {
         if (ConfigInitiator.done && newbieGuides == null)
@@ -503,8 +505,8 @@
             GUILayout.EndScrollView();
         }
 
-    }
-
+    }
+
     void DrawFunctionalGuides()
     {
         if (ConfigInitiator.done && functionalGuides == null)
@@ -559,8 +561,8 @@
         }
 
 
-    }
-
+    }
+
     public class NewBieGuide
     {
         public int guideId;
@@ -585,8 +587,8 @@
         {
             NewBieCenter.Instance.ResetGuide(guideId);
         }
-    }
-
+    }
+
     public class FunctionalGuide
     {
         public int guideId;
@@ -612,8 +614,8 @@
             NewBieCenter.Instance.ResetGuide(guideId);
         }
 
-    }
-
-
-
-}
+    }
+
+
+
+}

--
Gitblit v1.8.0