少年修仙传客户端基础资源
2个文件已修改
14 ■■■■■ 已修改文件
Assets/Editor/ScriptEditor/NewBieGuideEditorWindow.cs 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Assets/Editor/ScriptEditor/NewBieGuideScriptableObjectEditor.cs 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Assets/Editor/ScriptEditor/NewBieGuideEditorWindow.cs
@@ -26,6 +26,7 @@
    Transform m_ClickTarget;
    NewBieGuideScriptableObject.ArrowPosition arrowPosition = NewBieGuideScriptableObject.ArrowPosition.None;
    NewBieGuideScriptableObject.SelectBoxPattern selectBox = NewBieGuideScriptableObject.SelectBoxPattern.Pattern1;
    NewBieGuideScriptableObject.UseWindow useWindow = NewBieGuideScriptableObject.UseWindow.None;
    GameObject selectBoxGameObject;
@@ -50,6 +51,7 @@
    int usherAction = 0;
    bool clickAnyWhereComplete = false;
    bool pointerDownComplete = false;
    bool clickOthersComplete = false;
    NewBieGuideScriptableObject.UsherOrientation usherOrientation = NewBieGuideScriptableObject.UsherOrientation.Normal;
    GameObject usherMM;
@@ -128,6 +130,9 @@
        clickAnyWhereComplete = EditorGUILayout.Toggle("点击任意位置完成引导", clickAnyWhereComplete);
        pointerDownComplete = EditorGUILayout.Toggle("鼠标按下即完成引导", pointerDownComplete);
        clickOthersComplete = EditorGUILayout.Toggle("点击其他位置完成引导(会隐藏蒙版)", clickOthersComplete);
        useWindow = (NewBieGuideScriptableObject.UseWindow)EditorGUILayout.EnumPopup("引导用途需做额外逻辑", useWindow);
        EditorGUILayout.Space();
        EditorGUILayout.Space();
@@ -224,6 +229,8 @@
            voice = so.voice;
            clickAnyWhereComplete = so.clickAnyWhereComplete;
            pointerDownComplete = so.pointerDownComplete;
            clickOthersComplete = so.clickOthersComplete;
            useWindow = so.useWindow;
            guideContent = so.tipContent;
@@ -296,8 +303,10 @@
            so.usherAction = usherAction;
            so.voice = voice;
            so.clickAnyWhereComplete = clickAnyWhereComplete;
            so.clickOthersComplete = clickOthersComplete;
            so.pointerDownComplete = pointerDownComplete;
            so.tipContent = guideContent;
            so.useWindow = useWindow;
            if (m_ClickTarget != null)
            {
Assets/Editor/ScriptEditor/NewBieGuideScriptableObjectEditor.cs
@@ -28,7 +28,10 @@
        guide.clickAnyWhereComplete = EditorGUILayout.Toggle("点击任意位置完成引导", guide.clickAnyWhereComplete);
        guide.pointerDownComplete = EditorGUILayout.Toggle("鼠标按下即完成引导", guide.pointerDownComplete);
        guide.clickOthersComplete = EditorGUILayout.Toggle("点击其他位置完成引导(会隐藏蒙版)", guide.clickOthersComplete);
        guide.useWindow = (NewBieGuideScriptableObject.UseWindow)EditorGUILayout.EnumPopup("引导用途需做额外逻辑", guide.useWindow);
        if (GUI.changed)
        {
            EditorUtility.SetDirty(target);