diff --git a/.idea/.idea.TestF/.idea/workspace.xml b/.idea/.idea.TestF/.idea/workspace.xml
index 7cdbae7..4d4a653 100644
--- a/.idea/.idea.TestF/.idea/workspace.xml
+++ b/.idea/.idea.TestF/.idea/workspace.xml
@@ -6,17 +6,34 @@
-
-
+
+
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -59,6 +76,7 @@
"node.js.selected.package.eslint": "(autodetect)",
"node.js.selected.package.tslint": "(autodetect)",
"nodejs_package_manager_path": "npm",
+ "settings.editor.selected.configurable": "preferences.CSharpInteractiveConfiguration",
"vue.rearranger.settings.migration": "true"
},
"keyToStringList": {
@@ -104,10 +122,10 @@
-
+
-
+
@@ -148,10 +172,10 @@
21
-
+
-
+
diff --git a/Assets/Plugins/ConsolePro/Remote/LiteNetLib/LiteNetLib.csproj.meta b/Assets/Plugins/ConsolePro/Remote/LiteNetLib/LiteNetLib.csproj.meta
deleted file mode 100644
index cf332fb..0000000
--- a/Assets/Plugins/ConsolePro/Remote/LiteNetLib/LiteNetLib.csproj.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: 36ae2e48e7a7343fcb1503f56b5d4485
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Assets/Scenes/Init.unity b/Assets/Scenes/Init.unity
index f244a98..a49760e 100644
--- a/Assets/Scenes/Init.unity
+++ b/Assets/Scenes/Init.unity
@@ -38,7 +38,7 @@ RenderSettings:
m_ReflectionIntensity: 1
m_CustomReflection: {fileID: 0}
m_Sun: {fileID: 0}
- m_IndirectSpecularColor: {r: 0.3731193, g: 0.38073996, b: 0.35872698, a: 1}
+ m_IndirectSpecularColor: {r: 0.37311953, g: 0.38074014, b: 0.3587274, a: 1}
m_UseRadianceAmbientProbe: 0
--- !u!157 &3
LightmapSettings:
@@ -104,7 +104,7 @@ NavMeshSettings:
serializedVersion: 2
m_ObjectHideFlags: 0
m_BuildSettings:
- serializedVersion: 2
+ serializedVersion: 3
agentTypeID: 0
agentRadius: 0.5
agentHeight: 2
@@ -117,7 +117,7 @@ NavMeshSettings:
cellSize: 0.16666667
manualTileSize: 0
tileSize: 256
- accuratePlacement: 0
+ buildHeightMesh: 0
maxJobWorkers: 0
preserveTilesOutsideBounds: 0
debug:
@@ -148,6 +148,7 @@ Transform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 171801267}
+ serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: -10}
m_LocalScale: {x: 1, y: 1, z: 1}
@@ -155,7 +156,6 @@ Transform:
m_Children:
- {fileID: 261785427}
m_Father: {fileID: 1321366406}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!81 &171801269
AudioListener:
@@ -179,9 +179,17 @@ Camera:
m_projectionMatrixMode: 1
m_GateFitMode: 2
m_FOVAxisMode: 0
+ m_Iso: 200
+ m_ShutterSpeed: 0.005
+ m_Aperture: 16
+ m_FocusDistance: 10
+ m_FocalLength: 50
+ m_BladeCount: 5
+ m_Curvature: {x: 2, y: 11}
+ m_BarrelClipping: 0.25
+ m_Anamorphism: 0
m_SensorSize: {x: 36, y: 24}
m_LensShift: {x: 0, y: 0}
- m_FocalLength: 50
m_NormalizedViewPortRect:
serializedVersion: 2
x: 0
@@ -239,9 +247,17 @@ Camera:
m_projectionMatrixMode: 1
m_GateFitMode: 2
m_FOVAxisMode: 0
+ m_Iso: 200
+ m_ShutterSpeed: 0.005
+ m_Aperture: 16
+ m_FocusDistance: 10
+ m_FocalLength: 50
+ m_BladeCount: 5
+ m_Curvature: {x: 2, y: 11}
+ m_BarrelClipping: 0.25
+ m_Anamorphism: 0
m_SensorSize: {x: 36, y: 24}
m_LensShift: {x: 0, y: 0}
- m_FocalLength: 50
m_NormalizedViewPortRect:
serializedVersion: 2
x: 0
@@ -275,13 +291,13 @@ Transform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 261785425}
+ serializedVersion: 2
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 171801268}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &438191521
GameObject:
@@ -369,13 +385,13 @@ Transform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 438191521}
+ serializedVersion: 2
m_LocalRotation: {x: 0.32367495, y: 0.40315494, z: 0.3577457, w: 0.7776365}
m_LocalPosition: {x: 5.582583, y: 10.586806, z: -10.511573}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 12.413, y: 61.54, z: 56.818}
--- !u!1 &1321366405
GameObject:
@@ -402,6 +418,7 @@ Transform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1321366405}
+ serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
@@ -410,8 +427,8 @@ Transform:
- {fileID: 171801268}
- {fileID: 1619930059}
- {fileID: 1709265748}
+ - {fileID: 2142424751}
m_Father: {fileID: 0}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &1321366407
MonoBehaviour:
@@ -1251,7 +1268,6 @@ RectTransform:
m_Children:
- {fileID: 6483743946380363312}
m_Father: {fileID: 1321366406}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -1315,7 +1331,9 @@ Canvas:
m_OverrideSorting: 0
m_OverridePixelPerfect: 0
m_SortingBucketNormalizedSize: 0
+ m_VertexColorAlwaysGammaSpace: 0
m_AdditionalShaderChannelsFlag: 25
+ m_UpdateRectTransformForStandalone: 0
m_SortingLayerID: 0
m_SortingOrder: 0
m_TargetDisplay: 0
@@ -1379,13 +1397,13 @@ Transform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1709265745}
+ serializedVersion: 2
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1321366406}
- m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &2142424749
GameObject:
@@ -1398,12 +1416,12 @@ GameObject:
- component: {fileID: 2142424751}
- component: {fileID: 2142424750}
m_Layer: 0
- m_Name: test
+ m_Name: '*************Test**************'
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
- m_IsActive: 0
+ m_IsActive: 1
--- !u!114 &2142424750
MonoBehaviour:
m_ObjectHideFlags: 0
@@ -1424,13 +1442,13 @@ Transform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2142424749}
- m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ serializedVersion: 2
+ m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
- m_Father: {fileID: 0}
- m_RootOrder: 2
+ m_Father: {fileID: 1321366406}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!222 &693992134497071616
CanvasRenderer:
@@ -1462,7 +1480,6 @@ RectTransform:
m_Children:
- {fileID: 3446357338686576132}
m_Father: {fileID: 2757610425403794450}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.25}
m_AnchorMax: {x: 1, y: 0.75}
@@ -1650,7 +1667,6 @@ RectTransform:
- {fileID: 1274200815851310387}
- {fileID: 6475230103791226419}
m_Father: {fileID: 6483743946380363312}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 0}
@@ -1670,7 +1686,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 2801900720503997580}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0}
m_AnchorMax: {x: 0.5, y: 1}
@@ -1721,7 +1736,6 @@ RectTransform:
m_Children:
- {fileID: 2791905327450121150}
m_Father: {fileID: 6483743946380363312}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -1741,7 +1755,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 2757610425403794450}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.25}
m_AnchorMax: {x: 1, y: 0.75}
@@ -1791,7 +1804,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 6475230103791226419}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -1811,7 +1823,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1274200815851310387}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -2002,7 +2013,6 @@ RectTransform:
m_Children:
- {fileID: 3044195824213782846}
m_Father: {fileID: 2757610425403794450}
- m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -2024,7 +2034,6 @@ RectTransform:
- {fileID: 2801900720503997580}
- {fileID: 2757610425403794450}
m_Father: {fileID: 1619930059}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -2142,3 +2151,9 @@ GameObject:
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
+--- !u!1660057539 &9223372036854775807
+SceneRoots:
+ m_ObjectHideFlags: 0
+ m_Roots:
+ - {fileID: 438191523}
+ - {fileID: 1321366406}
diff --git a/Assets/Scripts/BFS/BFS.cs b/Assets/Scripts/BFS/BFS.cs
index 3498b4c..cdf8e37 100644
--- a/Assets/Scripts/BFS/BFS.cs
+++ b/Assets/Scripts/BFS/BFS.cs
@@ -6,261 +6,266 @@ using UnityEngine;
namespace Game.Pathfinding;
public class Node
-{
- public int index { get; private set; }
- public T data { get; private set; }
-
- public Node(int index, T data)
{
- this.index = index;
- this.data = data;
- }
-}
+ public int index { get; private set; }
+ public T data { get; private set; }
-class Edge
-{
- public Node from { get; private set; }
- public Node to { get; private set; }
- public bool canTranslate { get; private set; }
-
- public Edge(Node from, Node to, bool canTranslate = true)
- {
- this.from = from;
- this.to = to;
- this.canTranslate = canTranslate;
+ public Node(int index, T data)
+ {
+ this.index = index;
+ this.data = data;
+ }
}
- public Node GetAnotherNode(Node node)
+ class Edge
{
- return node == this.from ? to : to == node ? from : throw new InvalidOperationException();
+ public Node from { get; private set; }
+ public Node to { get; private set; }
+ public bool canTranslate { get; private set; }
+
+ public Edge(Node from, Node to, bool canTranslate = true)
+ {
+ this.from = from;
+ this.to = to;
+ this.canTranslate = canTranslate;
+ }
+
+ public Node GetAnotherNode(Node node)
+ {
+ return node == this.from ? to : to == node ? from : throw new InvalidOperationException();
+ }
}
-}
-public class WayPointGraph : Graph
-{
- readonly struct UniqueWayPoint: IEquatable
+ public class WayPointGraph : Graph
{
- private readonly WayPoint _wayPoint;
+ readonly struct UniqueWayPoint : IEquatable
+ {
+ private readonly WayPoint _wayPoint;
- public UniqueWayPoint(WayPoint wayPoint)
- {
- this._wayPoint = wayPoint;
- }
- public bool Equals(UniqueWayPoint other)
- {
- return _wayPoint.position == other._wayPoint.position;
- }
-
- public override bool Equals(object obj)
- {
- return obj is UniqueWayPoint other && Equals(other);
- }
-
- public override int GetHashCode()
- {
- return _wayPoint.position.GetHashCode();
- }
-
- public static implicit operator WayPoint(UniqueWayPoint uniqueWayPoint)
- {
- return uniqueWayPoint._wayPoint;
- }
-
- public static implicit operator UniqueWayPoint(WayPoint wayPoint)
- {
- return new UniqueWayPoint(wayPoint);
- }
-
- }
- public void Initialize(GameGlobalConfig.NodeMap[] nodeMaps)
- {
- HashSet wayPoints = new HashSet();
- foreach (var nodeMap in nodeMaps)
- {
- wayPoints.Add(new WayPoint(nodeMap.node1));
- wayPoints.Add(new WayPoint(nodeMap.node2));
- }
-
- Dictionary> position2NodeMap = new Dictionary>();
- _nodes = new Node[wayPoints.Count];
- using var enumerator = wayPoints.GetEnumerator();
- int index = 0;
- while (enumerator.MoveNext())
- {
- var enumeratorCurrent = (WayPoint)enumerator.Current;
- var node = new Node(index, enumeratorCurrent);
- this._nodes[index] = node;
- position2NodeMap[enumeratorCurrent.position] = node;
- index++;
- }
-
- _edges = new List>(nodeMaps.Length);
- this._connection = new Dictionary, List>>(_edges.Count);
-
- foreach (var nodeMap in nodeMaps)
- {
- if (position2NodeMap.TryGetValue(nodeMap.node1,out var node1))
+ public UniqueWayPoint(WayPoint wayPoint)
{
- if (position2NodeMap.TryGetValue(nodeMap.node2, out var node2))
+ this._wayPoint = wayPoint;
+ }
+
+ public bool Equals(UniqueWayPoint other)
+ {
+ return _wayPoint.position == other._wayPoint.position;
+ }
+
+ public override bool Equals(object obj)
+ {
+ return obj is UniqueWayPoint other && Equals(other);
+ }
+
+ public override int GetHashCode()
+ {
+ return _wayPoint.position.GetHashCode();
+ }
+
+ public static implicit operator WayPoint(UniqueWayPoint uniqueWayPoint)
+ {
+ return uniqueWayPoint._wayPoint;
+ }
+
+ public static implicit operator UniqueWayPoint(WayPoint wayPoint)
+ {
+ return new UniqueWayPoint(wayPoint);
+ }
+ }
+
+ public void Initialize(GameGlobalConfig.NodeMap[] nodeMaps)
+ {
+ HashSet wayPoints = new HashSet();
+ foreach (var nodeMap in nodeMaps)
+ {
+ wayPoints.Add(new WayPoint(nodeMap.node1));
+ wayPoints.Add(new WayPoint(nodeMap.node2));
+ }
+
+ Dictionary> position2NodeMap = new Dictionary>();
+ _nodes = new Node[wayPoints.Count];
+ using var enumerator = wayPoints.GetEnumerator();
+ int index = 0;
+ while (enumerator.MoveNext())
+ {
+ var enumeratorCurrent = (WayPoint)enumerator.Current;
+ var node = new Node(index, enumeratorCurrent);
+ this._nodes[index] = node;
+ position2NodeMap[enumeratorCurrent.position] = node;
+ index++;
+ }
+
+ _edges = new List>(nodeMaps.Length);
+ this._connection = new Dictionary, List>>(_edges.Count);
+
+ foreach (var nodeMap in nodeMaps)
+ {
+ if (position2NodeMap.TryGetValue(nodeMap.node1, out var node1))
{
- var edge = new Edge(node1,node2);
- _edges.Add(edge);
- if (!this._connection.TryGetValue(node1,out var list1))
+ if (position2NodeMap.TryGetValue(nodeMap.node2, out var node2))
{
- this._connection[node1] = list1 = new List>();
+ var edge = new Edge(node1, node2);
+ _edges.Add(edge);
+ if (!this._connection.TryGetValue(node1, out var list1))
+ {
+ this._connection[node1] = list1 = new List>();
+ }
+
+ list1.Add(edge);
+ if (!this._connection.TryGetValue(node2, out var list2))
+ {
+ this._connection[node2] = list2 = new List>();
+ }
+
+ list2.Add(edge);
}
- list1.Add(edge);
- if (!this._connection.TryGetValue(node2,out var list2))
- {
- this._connection[node2] = list2 = new List>();
- }
- list2.Add(edge);
}
}
}
}
-}
-public class Graph
-{
- private protected Node[] _nodes;
- private protected List> _edges;
- private protected Dictionary, List>> _connection;
-
- internal Node GetNode(int index)
+ public class Graph
{
- if (index < 0 || index >= this._nodes.Length - 1)
- {
- throw new IndexOutOfRangeException($"Index is {index}");
- }
+ private protected Node[] _nodes;
+ private protected List> _edges;
+ private protected Dictionary, List>> _connection;
- return this._nodes[index];
- }
- [CanBeNull]
- internal Node GetNode(Predicate> predicate)
- {
- foreach (var node in this._nodes)
+ internal Node GetNode(int index)
{
- if (predicate(node))
+ if (index < 0 || index >= this._nodes.Length - 1)
{
- return node;
+ throw new IndexOutOfRangeException($"Index is {index}");
}
+
+ return this._nodes[index];
}
- return null;
- }
-
- internal IReadOnlyList> GetNeighbours(Node node)
- {
- this._connection.TryGetValue(node, out var edges);
- return edges;
- }
-}
-
-public class BFS
-{
- private Graph _graph;
- private List _closeList = new List();
- private Queue _openList = new Queue();
- private Dictionary, Node> _nodeMap = new Dictionary, Node>();
-
- public BFS(Graph graph)
- {
- this._graph = graph;
- }
-
- [CanBeNull]
- public Node GetNode(Predicate> predicate)
- {
- return _graph.GetNode(predicate);
- }
-
- public Path FindPath(Node begin, Node end)
- {
- _openList.Clear();
- _closeList.Clear();
-
- _openList.Enqueue(begin.index);
- while (this._openList.Count > 0)
+ [CanBeNull]
+ internal Node GetNode(Predicate> predicate)
{
- var nodeIndex = this._openList.Dequeue();
- var currNode = this._graph.GetNode(nodeIndex);
- if (currNode.index == end.index)
- break;
- _closeList.Add(currNode.index);
- Search(currNode);
+ foreach (var node in this._nodes)
+ {
+ if (predicate(node))
+ {
+ return node;
+ }
+ }
+
+ return null;
}
- Path path = new Path();
- Node curr = end;
- path.AddNode(new PathNode(curr.index, curr.data));
- while (_nodeMap.TryGetValue(curr, out curr))
+ internal IReadOnlyList> GetNeighbours(Node node)
{
+ this._connection.TryGetValue(node, out var edges);
+ return edges;
+ }
+ }
+
+ public class BFS
+ {
+ private Graph _graph;
+ private List _closeList = new List();
+ private Queue _openList = new Queue();
+ private Dictionary, Node> _nodeMap = new Dictionary, Node>();
+
+ public BFS(Graph graph)
+ {
+ this._graph = graph;
+ }
+
+ [CanBeNull]
+ public Node GetNode(Predicate> predicate)
+ {
+ return _graph.GetNode(predicate);
+ }
+
+ public Path FindPath(Node begin, Node end)
+ {
+ _openList.Clear();
+ _closeList.Clear();
+
+ _openList.Enqueue(begin.index);
+ while (this._openList.Count > 0)
+ {
+ var nodeIndex = this._openList.Dequeue();
+ var currNode = this._graph.GetNode(nodeIndex);
+ if (currNode.index == end.index)
+ break;
+ _closeList.Add(currNode.index);
+ Search(currNode);
+ }
+
+ Path path = new Path();
+ Node curr = end;
path.AddNode(new PathNode(curr.index, curr.data));
- if (curr == begin)
- break;
- }
-
- path.Reverse();
- return path;
- }
-
- private void Search(Node node)
- {
- var readOnlyList = this._graph.GetNeighbours(node);
- foreach (var edge in readOnlyList)
- {
- if (!edge.canTranslate)
- continue;
- Node another = edge.GetAnotherNode(node);
- if (!this._nodeMap.ContainsKey(another))
+ while (_nodeMap.TryGetValue(curr, out curr))
{
- _nodeMap[another] = node;
+ path.AddNode(new PathNode(curr.index, curr.data));
+ if (curr == begin)
+ break;
}
- if (!this._closeList.Contains(another.index))
+ path.Reverse();
+ return path;
+ }
+
+ private void Search(Node node)
+ {
+ var readOnlyList = this._graph.GetNeighbours(node);
+ foreach (var edge in readOnlyList)
{
- _openList.Enqueue(another.index);
+ if (!edge.canTranslate)
+ continue;
+ Node another = edge.GetAnotherNode(node);
+ if (!this._nodeMap.ContainsKey(another))
+ {
+ _nodeMap[another] = node;
+ }
+
+ if (!this._closeList.Contains(another.index))
+ {
+ _openList.Enqueue(another.index);
+ }
}
}
}
-}
-public class Path
-{
- private readonly List> _pathNodes = new List>();
+ public class Path
+ {
+ private readonly List> _pathNodes = new List>();
- public void Reverse()
- {
- this._pathNodes.Reverse();
- }
-
- public void AddNode(PathNode node)
- {
- this._pathNodes.Add(node);
- }
-
- public IReadOnlyList> GetNodes()
- {
- return this._pathNodes;
- }
- public void GetDatas(IList result)
- {
- foreach (var pathNode in this._pathNodes)
+ public void Reverse()
{
- result.Add(pathNode.data);
+ this._pathNodes.Reverse();
+ }
+
+ public void AddNode(PathNode node)
+ {
+ this._pathNodes.Add(node);
+ }
+
+ public IReadOnlyList> GetNodes()
+ {
+ return this._pathNodes;
+ }
+
+ public void GetDatas(IList result)
+ {
+ foreach (var pathNode in this._pathNodes)
+ {
+ result.Add(pathNode.data);
+ }
}
}
-}
-public class PathNode
-{
- public int index { get; private set; }
- public T data { get; private set; }
-
- public PathNode(int index, T data)
+ public class PathNode
{
- this.index = index;
- this.data = data;
- }
-}
\ No newline at end of file
+ public int index { get; private set; }
+ public T data { get; private set; }
+
+ public PathNode(int index, T data)
+ {
+ this.index = index;
+ this.data = data;
+ }
+ }
\ No newline at end of file
diff --git a/Assets/Scripts/Game.cs b/Assets/Scripts/Game.cs
index b042599..f169402 100644
--- a/Assets/Scripts/Game.cs
+++ b/Assets/Scripts/Game.cs
@@ -1,5 +1,6 @@
using System;
using Cysharp.Threading.Tasks;
+using Game.Player;
using UnityEngine;
namespace Game
@@ -10,12 +11,17 @@ namespace Game
private UIManager _uiManager;
private ResourceManager _resourceManager;
private ProcedureManager _procedureManager;
+ public PlayerManager _playerManager;
+
[SerializeField] private LoadType _loadType = LoadType.Editor;
[SerializeField] private float time;
public static IProcedureManager procedureManager => _game._procedureManager;
public static IResourceManager resourceManager => _game._resourceManager;
public static IUIManager uiManager => _game._uiManager;
+
+ public static IPlayerManager playerManager => _game._playerManager;
+
private void Awake()
{
_game = this;
@@ -25,10 +31,12 @@ namespace Game
_uiManager = new UIManager();
_resourceManager = new ResourceManager();
this._procedureManager = new ProcedureManager();
+ this._playerManager = new PlayerManager();
_resourceManager.Init();
_uiManager.Init();
this._procedureManager.Init();
+ this._playerManager.Init();
// ProcedureBase[] procedureBases = new ProcedureBase[]
// {
@@ -44,12 +52,12 @@ namespace Game
{
await _resourceManager.InitLoadModeAsync(_loadType);
- // var loadingGameSceneUI = UIManager.Instance.CreateUI(UIType.LoadingGameSceneUI);
- // UIManager.Instance.ShowUI(UIType.LoadingGameSceneUI);
+ // var loadingGameSceneUI = UIManager.Instance.CreateUI(UIType.LoadingGameSceneUI);
+ // UIManager.Instance.ShowUI(UIType.LoadingGameSceneUI);
// await this._resourceManager.LoadSceneAsync(SceneType.Game.ToString());
// EventManager.Instance.FireNow(this,new LoadingGameSceneFinishEventArgs(true));
-
+
this._procedureManager.StartProcedure(ProcedureType.LoadingGameSceneProcedure);
return "11";
}).Forget();
diff --git a/Assets/Scripts/Player/PlayerManager.cs b/Assets/Scripts/Player/PlayerManager.cs
new file mode 100644
index 0000000..4099f28
--- /dev/null
+++ b/Assets/Scripts/Player/PlayerManager.cs
@@ -0,0 +1,109 @@
+using System.Collections.Generic;
+using System.Threading;
+using Cysharp.Threading.Tasks;
+using Game.Pathfinding;
+using Sirenix.OdinInspector;
+using UnityEngine;
+
+namespace Game.Player;
+
+public class PlayerManager : ManagerBase, IPlayerManager
+{
+ private Dictionary _players = new Dictionary();
+
+ public IPlayer CreatePlayer(string playerName, string assetName)
+ {
+ var gameObject = Game.resourceManager.LoadGameObjectSync(assetName);
+ IPlayer player = new Player();
+ player.SetGameObject(gameObject, playerName);
+ this._players.Add(playerName, player);
+ return player;
+ }
+
+ public IPlayer GetPlayer(string playerName)
+ {
+ return this._players.GetValueOrDefault(playerName);
+ }
+
+ public void DeletePlayer(string playerName)
+ {
+ if (this._players.TryGetValue(playerName, out var player))
+ {
+ player.Dispose();
+ }
+ }
+}
+
+public interface IPlayerManager
+{
+ //
+ IPlayer CreatePlayer(string playerName, string assetName);
+
+ IPlayer GetPlayer(string playerName);
+
+ void DeletePlayer(string playerName);
+}
+
+public interface IPlayer
+{
+ string playerName { get; }
+ GameObject self { get; }
+ void SetGameObject(GameObject gameObject, string name);
+ UniTask MoveAsync(List wayPoint, CancellationToken token);
+ void Dispose();
+}
+
+class PlayerInfo : MonoBehaviour
+{
+ [SerializeField] [ReadOnly] private Player _player;
+
+ public void SetPlayer(Player player)
+ {
+ this._player = player;
+ gameObject.name = this._player.playerName;
+ }
+}
+
+internal class Player : IPlayer
+{
+ private GameObject _self;
+ private string _playerName;
+
+ public string playerName => this._playerName;
+
+ public GameObject self => this._self;
+
+ public void SetGameObject(GameObject gameObject, string name)
+ {
+ this._self = gameObject;
+ this._playerName = name;
+ var playerInfo = this._self.AddComponent();
+ playerInfo.SetPlayer(this);
+ }
+
+ public async UniTask MoveAsync(List wayPoint, CancellationToken token)
+ {
+ foreach (var point in wayPoint)
+ {
+ bool isMoveing = true;
+ while (isMoveing)
+ {
+ await UniTask.Yield(token);
+ if (Vector3.Distance(self.transform.position, point.position) <= 0.1f)
+ {
+ isMoveing = false;
+ break;
+ }
+
+ this._self.transform.Translate(point.position);
+ }
+ }
+
+ return true;
+ }
+
+ public void Dispose()
+ {
+ GameObject.DestroyImmediate(self);
+ }
+}
\ No newline at end of file
diff --git a/Assets/Scripts/Player/PlayerManager.cs.meta b/Assets/Scripts/Player/PlayerManager.cs.meta
new file mode 100644
index 0000000..b1eeebc
--- /dev/null
+++ b/Assets/Scripts/Player/PlayerManager.cs.meta
@@ -0,0 +1,3 @@
+fileFormatVersion: 2
+guid: 38b20a5af27a4d45abcda2e28c4e0a21
+timeCreated: 1712285847
\ No newline at end of file
diff --git a/Assets/Scripts/Process.meta b/Assets/Scripts/Procedure.meta
similarity index 100%
rename from Assets/Scripts/Process.meta
rename to Assets/Scripts/Procedure.meta
diff --git a/Assets/Scripts/Process/GameSceneLogicProcedure.cs b/Assets/Scripts/Procedure/GameSceneLogicProcedure.cs
similarity index 92%
rename from Assets/Scripts/Process/GameSceneLogicProcedure.cs
rename to Assets/Scripts/Procedure/GameSceneLogicProcedure.cs
index 949dcd9..1beba05 100644
--- a/Assets/Scripts/Process/GameSceneLogicProcedure.cs
+++ b/Assets/Scripts/Procedure/GameSceneLogicProcedure.cs
@@ -18,16 +18,20 @@ namespace Game
// await ResourceManager.Instance.LoadSceneAsync(SceneType.Game.ToString());
// EventManager.Instance.FireNow(this,new LoadingGameSceneFinishEventArgs(true));
// });
+ var player = Game.playerManager.CreatePlayer("测试","player");
var gameGlobalConfig = GameObject.FindObjectOfType();
BFS bfs = new BFS(CreateGraph(gameGlobalConfig));
- var beginNode = GetNode(bfs, new Vector2(-5.6f,-14.6f));
+ var beginNode = GetNode(bfs, new Vector2(-29f,-16.5f));
var endNode = GetNode(bfs, new Vector2(-15.8f,44.3f));
var findPath = bfs.FindPath(beginNode, endNode);
var wayPoints = new List();
findPath.GetDatas(wayPoints);
Debug.Log($"Indices:{string.Join(',',findPath.GetNodes().Select(x=> x.index))}");
Debug.Log($"Positions:{string.Join(',',findPath.GetNodes().Select(x=> x.data.position))}");
+
+// player.MoveAsync()
+
}
[CanBeNull]
diff --git a/Assets/Scripts/Process/GameSceneLogicProcedure.cs.meta b/Assets/Scripts/Procedure/GameSceneLogicProcedure.cs.meta
similarity index 100%
rename from Assets/Scripts/Process/GameSceneLogicProcedure.cs.meta
rename to Assets/Scripts/Procedure/GameSceneLogicProcedure.cs.meta
diff --git a/Assets/Scripts/Process/IProcedure.cs b/Assets/Scripts/Procedure/IProcedure.cs
similarity index 100%
rename from Assets/Scripts/Process/IProcedure.cs
rename to Assets/Scripts/Procedure/IProcedure.cs
diff --git a/Assets/Scripts/Process/IProcedure.cs.meta b/Assets/Scripts/Procedure/IProcedure.cs.meta
similarity index 100%
rename from Assets/Scripts/Process/IProcedure.cs.meta
rename to Assets/Scripts/Procedure/IProcedure.cs.meta
diff --git a/Assets/Scripts/Process/LoadingGameSceneProcedure.cs b/Assets/Scripts/Procedure/LoadingGameSceneProcedure.cs
similarity index 100%
rename from Assets/Scripts/Process/LoadingGameSceneProcedure.cs
rename to Assets/Scripts/Procedure/LoadingGameSceneProcedure.cs
diff --git a/Assets/Scripts/Process/LoadingGameSceneProcedure.cs.meta b/Assets/Scripts/Procedure/LoadingGameSceneProcedure.cs.meta
similarity index 100%
rename from Assets/Scripts/Process/LoadingGameSceneProcedure.cs.meta
rename to Assets/Scripts/Procedure/LoadingGameSceneProcedure.cs.meta
diff --git a/Assets/Scripts/Process/ProcedureBase.cs b/Assets/Scripts/Procedure/ProcedureBase.cs
similarity index 100%
rename from Assets/Scripts/Process/ProcedureBase.cs
rename to Assets/Scripts/Procedure/ProcedureBase.cs
diff --git a/Assets/Scripts/Process/ProcedureBase.cs.meta b/Assets/Scripts/Procedure/ProcedureBase.cs.meta
similarity index 100%
rename from Assets/Scripts/Process/ProcedureBase.cs.meta
rename to Assets/Scripts/Procedure/ProcedureBase.cs.meta
diff --git a/Assets/Scripts/Process/ProcedureManager.cs b/Assets/Scripts/Procedure/ProcedureManager.cs
similarity index 100%
rename from Assets/Scripts/Process/ProcedureManager.cs
rename to Assets/Scripts/Procedure/ProcedureManager.cs
diff --git a/Assets/Scripts/Process/ProcedureManager.cs.meta b/Assets/Scripts/Procedure/ProcedureManager.cs.meta
similarity index 100%
rename from Assets/Scripts/Process/ProcedureManager.cs.meta
rename to Assets/Scripts/Procedure/ProcedureManager.cs.meta
diff --git a/Assets/Scripts/Process/ProcedureType.cs b/Assets/Scripts/Procedure/ProcedureType.cs
similarity index 100%
rename from Assets/Scripts/Process/ProcedureType.cs
rename to Assets/Scripts/Procedure/ProcedureType.cs
diff --git a/Assets/Scripts/Process/ProcedureType.cs.meta b/Assets/Scripts/Procedure/ProcedureType.cs.meta
similarity index 100%
rename from Assets/Scripts/Process/ProcedureType.cs.meta
rename to Assets/Scripts/Procedure/ProcedureType.cs.meta
diff --git a/Assets/Scripts/ResourceManager.cs b/Assets/Scripts/ResourceManager.cs
index 97e011f..9e935e8 100644
--- a/Assets/Scripts/ResourceManager.cs
+++ b/Assets/Scripts/ResourceManager.cs
@@ -213,10 +213,10 @@ namespace Game
_packageName.Remove(packageName);
}
- foreach (var handle in _sceneHandles.Values)
- {
- UnloadSceneAsync(handle.SceneName);
- }
+ // foreach (var handle in _sceneHandles.Values)
+ // {
+ // UnloadSceneAsync(handle.SceneName);
+ // }
_sceneHandles = null;
_packageName = null;
@@ -248,6 +248,7 @@ namespace Game
public interface IResourceManager
{
AssetHandle LoadAssetSync(string name);
+ GameObject LoadGameObjectSync(string path);
GameObject LoadUIGameObjectSync(string path);
UniTask LoadSceneAsync(string name, LoadSceneMode loadSceneMode = LoadSceneMode.Single,bool suspendLoad = false);
diff --git a/Assets/Scripts/Test.cs b/Assets/Scripts/Test.cs
index ffdd941..d057648 100644
--- a/Assets/Scripts/Test.cs
+++ b/Assets/Scripts/Test.cs
@@ -7,7 +7,7 @@ namespace Game
{
public class Test : MonoBehaviour
{
- public Transform tr;
+// public Transform tr;
private void Update()
{
@@ -37,11 +37,15 @@ namespace Game
//var value = this.GetType().ToString().Split(".");
// Debug.Log(value[^1]);
- var values = Enum.GetValues(typeof(ProcedureType));
- foreach (var value in values)
- {
- UnityEngine.Debug.Log( value.ToString());
- }
+//
+// var values = Enum.GetValues(typeof(ProcedureType));
+// foreach (var value in values)
+// {
+// UnityEngine.Debug.Log( value.ToString());
+// }
+
+//
+
}
}
}
diff --git a/Bundles/StandaloneWindows64/DefaultPackage/Simulate/PackageManifest_DefaultPackage_Simulate.bytes b/Bundles/StandaloneWindows64/DefaultPackage/Simulate/PackageManifest_DefaultPackage_Simulate.bytes
index 413b426..664cff3 100644
Binary files a/Bundles/StandaloneWindows64/DefaultPackage/Simulate/PackageManifest_DefaultPackage_Simulate.bytes and b/Bundles/StandaloneWindows64/DefaultPackage/Simulate/PackageManifest_DefaultPackage_Simulate.bytes differ
diff --git a/Bundles/StandaloneWindows64/DefaultPackage/Simulate/PackageManifest_DefaultPackage_Simulate.hash b/Bundles/StandaloneWindows64/DefaultPackage/Simulate/PackageManifest_DefaultPackage_Simulate.hash
index a5b3861..8f83456 100644
--- a/Bundles/StandaloneWindows64/DefaultPackage/Simulate/PackageManifest_DefaultPackage_Simulate.hash
+++ b/Bundles/StandaloneWindows64/DefaultPackage/Simulate/PackageManifest_DefaultPackage_Simulate.hash
@@ -1 +1 @@
-0ce7751036f8a9d4d8ddc94ebf8142dc
\ No newline at end of file
+b0320ea39a645ba385c482c6a8d18bb1
\ No newline at end of file
diff --git a/Bundles/StandaloneWindows64/DefaultPackage/Simulate/PackageManifest_DefaultPackage_Simulate.json b/Bundles/StandaloneWindows64/DefaultPackage/Simulate/PackageManifest_DefaultPackage_Simulate.json
index 893ea54..2bc2ea7 100644
--- a/Bundles/StandaloneWindows64/DefaultPackage/Simulate/PackageManifest_DefaultPackage_Simulate.json
+++ b/Bundles/StandaloneWindows64/DefaultPackage/Simulate/PackageManifest_DefaultPackage_Simulate.json
@@ -62,9 +62,9 @@
{
"BundleName": "defaultpackage_assets_hotfix_animator.bundle",
"UnityCRC": 0,
- "FileHash": "e04ba4cfe20862bb193019f10ed492e3",
+ "FileHash": "753b451aa9b58fb7304b46ea4610d6f9",
"FileCRC": "00000000",
- "FileSize": 8572,
+ "FileSize": 8281,
"Encrypted": false,
"Tags": [],
"DependIDs": []
@@ -72,9 +72,9 @@
{
"BundleName": "defaultpackage_assets_hotfix_material.bundle",
"UnityCRC": 0,
- "FileHash": "2efc397b9cd6d028131034c9f1637e07",
+ "FileHash": "72fb17302a9e2a509c3c7f8629d237ce",
"FileCRC": "00000000",
- "FileSize": 2278,
+ "FileSize": 2195,
"Encrypted": false,
"Tags": [],
"DependIDs": []
@@ -82,9 +82,9 @@
{
"BundleName": "defaultpackage_assets_hotfix_prefabs.bundle",
"UnityCRC": 0,
- "FileHash": "168fd2bd3d292d0c79e7b311716e1e0c",
+ "FileHash": "fe7be2cecbb6fb054838e8345a41e194",
"FileCRC": "00000000",
- "FileSize": 48823,
+ "FileSize": 47274,
"Encrypted": false,
"Tags": [],
"DependIDs": []
@@ -92,9 +92,9 @@
{
"BundleName": "defaultpackage_assets_hotfix_prefabs_ui.bundle",
"UnityCRC": 0,
- "FileHash": "7e3e04e1d42ac8cf185d96598008c195",
+ "FileHash": "fb04fe75a7a67c88be5242040345863a",
"FileCRC": "00000000",
- "FileSize": 83864,
+ "FileSize": 85310,
"Encrypted": false,
"Tags": [],
"DependIDs": []
@@ -102,9 +102,9 @@
{
"BundleName": "defaultpackage_assets_hotfix_scene.bundle",
"UnityCRC": 0,
- "FileHash": "92af60652b438caf8c5568ff271a0c6b",
+ "FileHash": "ef1ea81be8ec38308612fb323b2ceb49",
"FileCRC": "00000000",
- "FileSize": 164738,
+ "FileSize": 170796,
"Encrypted": false,
"Tags": [],
"DependIDs": []
diff --git a/Packages/manifest.json b/Packages/manifest.json
index bf40314..29182d9 100644
--- a/Packages/manifest.json
+++ b/Packages/manifest.json
@@ -2,6 +2,7 @@
"dependencies": {
"com.tuyoogame.yooasset": "2.1.0",
"com.unity.2d.sprite": "1.0.0",
+ "com.unity.ai.navigation": "1.1.5",
"com.unity.collab-proxy": "2.2.0",
"com.unity.feature.development": "1.0.1",
"com.unity.textmeshpro": "3.0.6",
diff --git a/Packages/packages-lock.json b/Packages/packages-lock.json
index 136cfc4..ca45647 100644
--- a/Packages/packages-lock.json
+++ b/Packages/packages-lock.json
@@ -18,89 +18,98 @@
"source": "builtin",
"dependencies": {}
},
+ "com.unity.ai.navigation": {
+ "version": "1.1.5",
+ "depth": 0,
+ "source": "registry",
+ "dependencies": {
+ "com.unity.modules.ai": "1.0.0"
+ },
+ "url": "https://packages.unity.cn"
+ },
"com.unity.collab-proxy": {
"version": "2.2.0",
"depth": 0,
"source": "registry",
"dependencies": {},
- "url": "https://packages.unity.com"
+ "url": "https://packages.unity.cn"
},
"com.unity.editorcoroutines": {
"version": "1.0.0",
"depth": 1,
"source": "registry",
"dependencies": {},
- "url": "https://packages.unity.com"
+ "url": "https://packages.unity.cn"
},
"com.unity.ext.nunit": {
"version": "1.0.6",
"depth": 2,
"source": "registry",
"dependencies": {},
- "url": "https://packages.unity.com"
+ "url": "https://packages.unity.cn"
},
"com.unity.feature.development": {
"version": "1.0.1",
"depth": 0,
"source": "builtin",
"dependencies": {
- "com.unity.ide.visualstudio": "2.0.17",
- "com.unity.ide.rider": "3.0.18",
+ "com.unity.ide.visualstudio": "2.0.22",
+ "com.unity.ide.rider": "3.0.27",
"com.unity.ide.vscode": "1.2.5",
"com.unity.editorcoroutines": "1.0.0",
"com.unity.performance.profile-analyzer": "1.2.2",
- "com.unity.test-framework": "1.1.31",
- "com.unity.testtools.codecoverage": "1.2.2"
+ "com.unity.test-framework": "1.1.33",
+ "com.unity.testtools.codecoverage": "1.2.4"
}
},
"com.unity.ide.rider": {
- "version": "3.0.18",
+ "version": "3.0.27",
"depth": 1,
"source": "registry",
"dependencies": {
"com.unity.ext.nunit": "1.0.6"
},
- "url": "https://packages.unity.com"
+ "url": "https://packages.unity.cn"
},
"com.unity.ide.visualstudio": {
- "version": "2.0.17",
+ "version": "2.0.22",
"depth": 1,
"source": "registry",
"dependencies": {
"com.unity.test-framework": "1.1.9"
},
- "url": "https://packages.unity.com"
+ "url": "https://packages.unity.cn"
},
"com.unity.ide.vscode": {
"version": "1.2.5",
"depth": 1,
"source": "registry",
"dependencies": {},
- "url": "https://packages.unity.com"
+ "url": "https://packages.unity.cn"
},
"com.unity.performance.profile-analyzer": {
"version": "1.2.2",
"depth": 1,
"source": "registry",
"dependencies": {},
- "url": "https://packages.unity.com"
+ "url": "https://packages.unity.cn"
},
"com.unity.scriptablebuildpipeline": {
"version": "1.21.21",
"depth": 1,
"source": "registry",
"dependencies": {},
- "url": "https://packages.unity.com"
+ "url": "https://packages.unity.cn"
},
"com.unity.settings-manager": {
- "version": "1.0.3",
+ "version": "2.0.1",
"depth": 2,
"source": "registry",
"dependencies": {},
- "url": "https://packages.unity.com"
+ "url": "https://packages.unity.cn"
},
"com.unity.test-framework": {
- "version": "1.1.31",
+ "version": "1.1.33",
"depth": 1,
"source": "registry",
"dependencies": {
@@ -108,17 +117,17 @@
"com.unity.modules.imgui": "1.0.0",
"com.unity.modules.jsonserialize": "1.0.0"
},
- "url": "https://packages.unity.com"
+ "url": "https://packages.unity.cn"
},
"com.unity.testtools.codecoverage": {
- "version": "1.2.2",
+ "version": "1.2.4",
"depth": 1,
"source": "registry",
"dependencies": {
"com.unity.test-framework": "1.0.16",
"com.unity.settings-manager": "1.0.1"
},
- "url": "https://packages.unity.com"
+ "url": "https://packages.unity.cn"
},
"com.unity.textmeshpro": {
"version": "3.0.6",
@@ -127,7 +136,7 @@
"dependencies": {
"com.unity.ugui": "1.0.0"
},
- "url": "https://packages.unity.com"
+ "url": "https://packages.unity.cn"
},
"com.unity.timeline": {
"version": "1.7.6",
@@ -139,7 +148,7 @@
"com.unity.modules.audio": "1.0.0",
"com.unity.modules.particlesystem": "1.0.0"
},
- "url": "https://packages.unity.com"
+ "url": "https://packages.unity.cn"
},
"com.unity.ugui": {
"version": "1.0.0",
@@ -282,17 +291,6 @@
"version": "1.0.0",
"depth": 0,
"source": "builtin",
- "dependencies": {
- "com.unity.modules.ui": "1.0.0",
- "com.unity.modules.imgui": "1.0.0",
- "com.unity.modules.jsonserialize": "1.0.0",
- "com.unity.modules.uielementsnative": "1.0.0"
- }
- },
- "com.unity.modules.uielementsnative": {
- "version": "1.0.0",
- "depth": 1,
- "source": "builtin",
"dependencies": {
"com.unity.modules.ui": "1.0.0",
"com.unity.modules.imgui": "1.0.0",
diff --git a/ProjectSettings/PackageManagerSettings.asset b/ProjectSettings/PackageManagerSettings.asset
index bd88ca5..5e0508b 100644
--- a/ProjectSettings/PackageManagerSettings.asset
+++ b/ProjectSettings/PackageManagerSettings.asset
@@ -13,15 +13,15 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
m_EnablePreReleasePackages: 0
- m_EnablePackageDependencies: 0
m_AdvancedSettingsExpanded: 1
m_ScopedRegistriesSettingsExpanded: 1
m_SeeAllPackageVersions: 0
+ m_DismissPreviewPackagesInUse: 0
oneTimeWarningShown: 0
m_Registries:
- m_Id: main
m_Name:
- m_Url: https://packages.unity.com
+ m_Url: https://packages.unity.cn
m_Scopes: []
m_IsDefault: 1
m_Capabilities: 7
@@ -39,6 +39,6 @@ MonoBehaviour:
m_RegistryInfoDraft:
m_Modified: 0
m_ErrorMessage:
- m_UserModificationsInstanceId: -850
- m_OriginalInstanceId: -854
+ m_UserModificationsInstanceId: -830
+ m_OriginalInstanceId: -834
m_LoadAssets: 0
diff --git a/ProjectSettings/Packages/com.unity.testtools.codecoverage/Settings.json b/ProjectSettings/Packages/com.unity.testtools.codecoverage/Settings.json
index ad11087..3c7b4c1 100644
--- a/ProjectSettings/Packages/com.unity.testtools.codecoverage/Settings.json
+++ b/ProjectSettings/Packages/com.unity.testtools.codecoverage/Settings.json
@@ -1,6 +1,4 @@
{
- "m_Name": "Settings",
- "m_Path": "ProjectSettings/Packages/com.unity.testtools.codecoverage/Settings.json",
"m_Dictionary": {
"m_DictionaryValues": []
}
diff --git a/ProjectSettings/ProjectVersion.txt b/ProjectSettings/ProjectVersion.txt
index f8251a7..6d82c78 100644
--- a/ProjectSettings/ProjectVersion.txt
+++ b/ProjectSettings/ProjectVersion.txt
@@ -1,2 +1,2 @@
-m_EditorVersion: 2021.3.22f1
-m_EditorVersionWithRevision: 2021.3.22f1 (b6c551784ba3)
+m_EditorVersion: 2022.3.17f1c1
+m_EditorVersionWithRevision: 2022.3.17f1c1 (a01dafa986ec)
diff --git a/ProjectSettings/boot.config b/ProjectSettings/boot.config
deleted file mode 100644
index e69de29..0000000