fix: 处理一下编辑器编译错误
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 638cd3fa1c2470d42aceb69214c01786
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,37 +0,0 @@
|
||||
namespace AibisDream.Editor
|
||||
{
|
||||
/// <summary>
|
||||
/// 项目自研编辑器菜单路径常量。新工具统一挂 <see cref="Root"/> 下扁平条目。
|
||||
/// Create 路径见运行时 <see cref="AibisAssetMenus"/>。
|
||||
/// </summary>
|
||||
public static class AibisEditorMenus
|
||||
{
|
||||
public const string Root = AibisAssetMenus.Root;
|
||||
|
||||
public const string AnimationClipGenerator = Root + "/动画片段生成器";
|
||||
public const string JsonEditor = Root + "/JSON 编辑器";
|
||||
public const string NameCollector = Root + "/名称收集器";
|
||||
public const string ChapterGraphEditor = Root + "/章节 Graph 编辑器";
|
||||
public const string FrameAnimationGraphEditor = Root + "/帧动画 Graph 编辑器";
|
||||
public const string FrameClipEditor = Root + "/帧动画 Clip 编辑器";
|
||||
public const string YarnLocalizationValidator = Root + "/Yarn 本地化校验";
|
||||
|
||||
public const string GameObjectRoot = "GameObject/" + Root;
|
||||
public const string BlockPuzzleShape = GameObjectRoot + "/方块拼图 Shape";
|
||||
|
||||
public static class Create
|
||||
{
|
||||
public const string NarrativeTalkScene = AibisAssetMenus.NarrativeTalkScene;
|
||||
public const string FrameAnimationGraph = AibisAssetMenus.FrameAnimationGraph;
|
||||
public const string FrameClip = AibisAssetMenus.FrameClip;
|
||||
public const string BubbleStyle = AibisAssetMenus.BubbleStyle;
|
||||
public const string FixCheckRule = AibisAssetMenus.FixCheckRule;
|
||||
public const string FixCheckData = AibisAssetMenus.FixCheckData;
|
||||
public const string FixWhackMoleData = AibisAssetMenus.FixWhackMoleData;
|
||||
public const string HuoShanEmotionWave = AibisAssetMenus.HuoShanEmotionWave;
|
||||
public const string HuoShanWaveform = AibisAssetMenus.HuoShanWaveform;
|
||||
public const string BlockPuzzleValidator = AibisAssetMenus.BlockPuzzleValidator;
|
||||
public const string MemoryPunchTapeCatalog = AibisAssetMenus.MemoryPunchTapeCatalog;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -2,7 +2,6 @@
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using AibisDream;
|
||||
using AibisDream.Editor;
|
||||
using UnityEditor;
|
||||
using UnityEditor.UIElements;
|
||||
using UnityEngine;
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
"rootNamespace": "AibisDream.FrameAnimation.Editor",
|
||||
"references": [
|
||||
"AibisDream.FrameAnimation.Runtime",
|
||||
"AibisDream.Menus",
|
||||
"Unity.2D.Sprite.Editor"
|
||||
],
|
||||
"includePlatforms": [
|
||||
|
||||
@@ -3,7 +3,6 @@ using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using AibisDream.Editor;
|
||||
using UnityEditor;
|
||||
using UnityEditor.Callbacks;
|
||||
using UnityEditor.UIElements;
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
using System;
|
||||
using System.Linq;
|
||||
using AibisDream.Editor;
|
||||
using UnityEditor;
|
||||
using UnityEditorInternal;
|
||||
using UnityEngine;
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using AibisDream.Editor;
|
||||
using UnityEditor;
|
||||
using UnityEditor.SceneManagement;
|
||||
using UnityEngine;
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
using AibisDream.Editor;
|
||||
using UnityEditor;
|
||||
using UnityEditor;
|
||||
using UnityEngine;
|
||||
|
||||
namespace AibisDream.SystemEditor
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
using System.IO;
|
||||
using AibisDream.Editor;
|
||||
using UnityEditor;
|
||||
using UnityEngine;
|
||||
|
||||
|
||||
@@ -2,7 +2,6 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using AibisDream.Editor;
|
||||
using AibisDream.Utility;
|
||||
using Newtonsoft.Json.Linq;
|
||||
using UnityEditor;
|
||||
|
||||
@@ -2,7 +2,6 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using AibisDream.Editor;
|
||||
using UnityEditor;
|
||||
using UnityEditorInternal;
|
||||
using UnityEngine;
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 6422dcc8dba87cd41a6b24ae4de41c7c
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
namespace AibisDream
|
||||
{
|
||||
/// <summary>
|
||||
/// Create 菜单路径(运行时 ScriptableObject 注册用,须与 Editor/AIBIS/AibisEditorMenus.Create 保持一致)。
|
||||
/// Create 菜单路径(ScriptableObject 注册用,须与 <see cref="AibisEditorMenus"/> 保持一致)。
|
||||
/// </summary>
|
||||
public static class AibisAssetMenus
|
||||
{
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d3ccbcbc29bb8b34bb5be6236d6ab461
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"name": "AibisDream.Menus",
|
||||
"rootNamespace": "AibisDream",
|
||||
"references": [],
|
||||
"includePlatforms": [],
|
||||
"excludePlatforms": [],
|
||||
"allowUnsafeCode": false,
|
||||
"overrideReferences": false,
|
||||
"precompiledReferences": [],
|
||||
"autoReferenced": true,
|
||||
"defineConstraints": [],
|
||||
"versionDefines": [],
|
||||
"noEngineReferences": false
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 1c0cbee178998b44e892fc91023ef470
|
||||
AssemblyDefinitionImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,21 @@
|
||||
namespace AibisDream
|
||||
{
|
||||
/// <summary>
|
||||
/// 项目自研编辑器菜单路径常量。新工具统一挂 <see cref="Root"/> 下扁平条目。
|
||||
/// </summary>
|
||||
public static class AibisEditorMenus
|
||||
{
|
||||
public const string Root = AibisAssetMenus.Root;
|
||||
|
||||
public const string AnimationClipGenerator = Root + "/动画片段生成器";
|
||||
public const string JsonEditor = Root + "/JSON 编辑器";
|
||||
public const string NameCollector = Root + "/名称收集器";
|
||||
public const string ChapterGraphEditor = Root + "/章节 Graph 编辑器";
|
||||
public const string FrameAnimationGraphEditor = Root + "/帧动画 Graph 编辑器";
|
||||
public const string FrameClipEditor = Root + "/帧动画 Clip 编辑器";
|
||||
public const string YarnLocalizationValidator = Root + "/Yarn 本地化校验";
|
||||
|
||||
public const string GameObjectRoot = "GameObject/" + Root;
|
||||
public const string BlockPuzzleShape = GameObjectRoot + "/方块拼图 Shape";
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 79b55c46887d94a4a8a27c7587d6d2dd
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -2,7 +2,8 @@
|
||||
"name": "AibisDream.FrameAnimation.Runtime",
|
||||
"rootNamespace": "AibisDream.FrameAnimation",
|
||||
"references": [
|
||||
"UnityEngine.UI"
|
||||
"UnityEngine.UI",
|
||||
"AibisDream.Menus"
|
||||
],
|
||||
"includePlatforms": [],
|
||||
"excludePlatforms": [],
|
||||
|
||||
@@ -3,7 +3,7 @@ using UnityEngine;
|
||||
|
||||
namespace AibisDream.FrameAnimation
|
||||
{
|
||||
[CreateAssetMenu(fileName = "FrameAnimationGraph", menuName = "AIBIS/角色动画/帧动画 Graph")]
|
||||
[CreateAssetMenu(fileName = "FrameAnimationGraph", menuName = AibisAssetMenus.FrameAnimationGraph)]
|
||||
public sealed class FrameAnimationGraph : ScriptableObject
|
||||
{
|
||||
[SerializeField] private string id = string.Empty;
|
||||
|
||||
@@ -3,7 +3,7 @@ using UnityEngine;
|
||||
|
||||
namespace AibisDream.FrameAnimation
|
||||
{
|
||||
[CreateAssetMenu(fileName = "FrameClip", menuName = "AIBIS/角色动画/帧动画 Clip")]
|
||||
[CreateAssetMenu(fileName = "FrameClip", menuName = AibisAssetMenus.FrameClip)]
|
||||
public sealed class FrameClip : ScriptableObject
|
||||
{
|
||||
[SerializeField] private string id = string.Empty;
|
||||
|
||||
Reference in New Issue
Block a user