This commit is contained in:
huyulong 2024-12-14 16:01:31 +08:00
parent ab6f57ce72
commit 609550513f
3 changed files with 103 additions and 3 deletions

View File

@ -2200,10 +2200,18 @@ PrefabInstance:
propertyPath: m_LocalEulerAnglesHint.z propertyPath: m_LocalEulerAnglesHint.z
value: 0 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -8346327141343803580, guid: 0c9b084f2070bda45b87da961d2eb0f6, type: 3}
propertyPath: m_Name
value: obj202
objectReference: {fileID: 0}
- target: {fileID: -8346327141343803580, guid: 0c9b084f2070bda45b87da961d2eb0f6, type: 3} - target: {fileID: -8346327141343803580, guid: 0c9b084f2070bda45b87da961d2eb0f6, type: 3}
propertyPath: m_StaticEditorFlags propertyPath: m_StaticEditorFlags
value: 2147483647 value: 2147483647
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -8282288472169970500, guid: 0c9b084f2070bda45b87da961d2eb0f6, type: 3}
propertyPath: m_Name
value: obj224
objectReference: {fileID: 0}
- target: {fileID: -8282288472169970500, guid: 0c9b084f2070bda45b87da961d2eb0f6, type: 3} - target: {fileID: -8282288472169970500, guid: 0c9b084f2070bda45b87da961d2eb0f6, type: 3}
propertyPath: m_StaticEditorFlags propertyPath: m_StaticEditorFlags
value: 2147483647 value: 2147483647
@ -2216,6 +2224,10 @@ PrefabInstance:
propertyPath: m_StaticEditorFlags propertyPath: m_StaticEditorFlags
value: 2147483647 value: 2147483647
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -6327141709703751677, guid: 0c9b084f2070bda45b87da961d2eb0f6, type: 3}
propertyPath: m_Name
value: obj153
objectReference: {fileID: 0}
- target: {fileID: -6327141709703751677, guid: 0c9b084f2070bda45b87da961d2eb0f6, type: 3} - target: {fileID: -6327141709703751677, guid: 0c9b084f2070bda45b87da961d2eb0f6, type: 3}
propertyPath: m_StaticEditorFlags propertyPath: m_StaticEditorFlags
value: 2147483647 value: 2147483647
@ -2224,6 +2236,10 @@ PrefabInstance:
propertyPath: m_StaticEditorFlags propertyPath: m_StaticEditorFlags
value: 2147483647 value: 2147483647
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -5894147750496127529, guid: 0c9b084f2070bda45b87da961d2eb0f6, type: 3}
propertyPath: m_Name
value: obj200
objectReference: {fileID: 0}
- target: {fileID: -5894147750496127529, guid: 0c9b084f2070bda45b87da961d2eb0f6, type: 3} - target: {fileID: -5894147750496127529, guid: 0c9b084f2070bda45b87da961d2eb0f6, type: 3}
propertyPath: m_StaticEditorFlags propertyPath: m_StaticEditorFlags
value: 2147483647 value: 2147483647
@ -2240,10 +2256,18 @@ PrefabInstance:
propertyPath: m_StaticEditorFlags propertyPath: m_StaticEditorFlags
value: 2147483647 value: 2147483647
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -3477271395377431157, guid: 0c9b084f2070bda45b87da961d2eb0f6, type: 3}
propertyPath: m_Name
value: obj024
objectReference: {fileID: 0}
- target: {fileID: -3477271395377431157, guid: 0c9b084f2070bda45b87da961d2eb0f6, type: 3} - target: {fileID: -3477271395377431157, guid: 0c9b084f2070bda45b87da961d2eb0f6, type: 3}
propertyPath: m_StaticEditorFlags propertyPath: m_StaticEditorFlags
value: 2147483647 value: 2147483647
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -3327165261720660473, guid: 0c9b084f2070bda45b87da961d2eb0f6, type: 3}
propertyPath: m_Name
value: obj230
objectReference: {fileID: 0}
- target: {fileID: -3327165261720660473, guid: 0c9b084f2070bda45b87da961d2eb0f6, type: 3} - target: {fileID: -3327165261720660473, guid: 0c9b084f2070bda45b87da961d2eb0f6, type: 3}
propertyPath: m_StaticEditorFlags propertyPath: m_StaticEditorFlags
value: 2147483647 value: 2147483647
@ -2252,10 +2276,18 @@ PrefabInstance:
propertyPath: m_StaticEditorFlags propertyPath: m_StaticEditorFlags
value: 2147483647 value: 2147483647
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -3237221884521187588, guid: 0c9b084f2070bda45b87da961d2eb0f6, type: 3}
propertyPath: m_Name
value: obj222
objectReference: {fileID: 0}
- target: {fileID: -3237221884521187588, guid: 0c9b084f2070bda45b87da961d2eb0f6, type: 3} - target: {fileID: -3237221884521187588, guid: 0c9b084f2070bda45b87da961d2eb0f6, type: 3}
propertyPath: m_StaticEditorFlags propertyPath: m_StaticEditorFlags
value: 2147483647 value: 2147483647
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -2654505143154747466, guid: 0c9b084f2070bda45b87da961d2eb0f6, type: 3}
propertyPath: m_Name
value: obj220
objectReference: {fileID: 0}
- target: {fileID: -2654505143154747466, guid: 0c9b084f2070bda45b87da961d2eb0f6, type: 3} - target: {fileID: -2654505143154747466, guid: 0c9b084f2070bda45b87da961d2eb0f6, type: 3}
propertyPath: m_StaticEditorFlags propertyPath: m_StaticEditorFlags
value: 2147483647 value: 2147483647
@ -2268,6 +2300,10 @@ PrefabInstance:
propertyPath: m_StaticEditorFlags propertyPath: m_StaticEditorFlags
value: 2147483647 value: 2147483647
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -1788689016301746583, guid: 0c9b084f2070bda45b87da961d2eb0f6, type: 3}
propertyPath: m_Name
value: obj205
objectReference: {fileID: 0}
- target: {fileID: -1788689016301746583, guid: 0c9b084f2070bda45b87da961d2eb0f6, type: 3} - target: {fileID: -1788689016301746583, guid: 0c9b084f2070bda45b87da961d2eb0f6, type: 3}
propertyPath: m_StaticEditorFlags propertyPath: m_StaticEditorFlags
value: 2147483647 value: 2147483647
@ -2280,6 +2316,10 @@ PrefabInstance:
propertyPath: m_StaticEditorFlags propertyPath: m_StaticEditorFlags
value: 2147483647 value: 2147483647
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -241233108021658044, guid: 0c9b084f2070bda45b87da961d2eb0f6, type: 3}
propertyPath: m_Name
value: obj210
objectReference: {fileID: 0}
- target: {fileID: -241233108021658044, guid: 0c9b084f2070bda45b87da961d2eb0f6, type: 3} - target: {fileID: -241233108021658044, guid: 0c9b084f2070bda45b87da961d2eb0f6, type: 3}
propertyPath: m_StaticEditorFlags propertyPath: m_StaticEditorFlags
value: 2147483647 value: 2147483647
@ -2288,6 +2328,10 @@ PrefabInstance:
propertyPath: m_StaticEditorFlags propertyPath: m_StaticEditorFlags
value: 2147483647 value: 2147483647
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -106440716057841632, guid: 0c9b084f2070bda45b87da961d2eb0f6, type: 3}
propertyPath: m_Name
value: obj221
objectReference: {fileID: 0}
- target: {fileID: -106440716057841632, guid: 0c9b084f2070bda45b87da961d2eb0f6, type: 3} - target: {fileID: -106440716057841632, guid: 0c9b084f2070bda45b87da961d2eb0f6, type: 3}
propertyPath: m_StaticEditorFlags propertyPath: m_StaticEditorFlags
value: 2147483647 value: 2147483647
@ -2300,6 +2344,10 @@ PrefabInstance:
propertyPath: m_Name propertyPath: m_Name
value: school04 value: school04
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 1402326328003170893, guid: 0c9b084f2070bda45b87da961d2eb0f6, type: 3}
propertyPath: m_Name
value: obj229
objectReference: {fileID: 0}
- target: {fileID: 1402326328003170893, guid: 0c9b084f2070bda45b87da961d2eb0f6, type: 3} - target: {fileID: 1402326328003170893, guid: 0c9b084f2070bda45b87da961d2eb0f6, type: 3}
propertyPath: m_StaticEditorFlags propertyPath: m_StaticEditorFlags
value: 2147483647 value: 2147483647
@ -2308,6 +2356,10 @@ PrefabInstance:
propertyPath: m_StaticEditorFlags propertyPath: m_StaticEditorFlags
value: 2147483647 value: 2147483647
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 2109942813294462661, guid: 0c9b084f2070bda45b87da961d2eb0f6, type: 3}
propertyPath: m_Name
value: obj204
objectReference: {fileID: 0}
- target: {fileID: 2109942813294462661, guid: 0c9b084f2070bda45b87da961d2eb0f6, type: 3} - target: {fileID: 2109942813294462661, guid: 0c9b084f2070bda45b87da961d2eb0f6, type: 3}
propertyPath: m_StaticEditorFlags propertyPath: m_StaticEditorFlags
value: 2147483647 value: 2147483647
@ -2316,46 +2368,90 @@ PrefabInstance:
propertyPath: m_StaticEditorFlags propertyPath: m_StaticEditorFlags
value: 2147483647 value: 2147483647
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 3184295249035706133, guid: 0c9b084f2070bda45b87da961d2eb0f6, type: 3}
propertyPath: m_Name
value: obj208
objectReference: {fileID: 0}
- target: {fileID: 3184295249035706133, guid: 0c9b084f2070bda45b87da961d2eb0f6, type: 3} - target: {fileID: 3184295249035706133, guid: 0c9b084f2070bda45b87da961d2eb0f6, type: 3}
propertyPath: m_StaticEditorFlags propertyPath: m_StaticEditorFlags
value: 2147483647 value: 2147483647
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 4315024395822287230, guid: 0c9b084f2070bda45b87da961d2eb0f6, type: 3}
propertyPath: m_Name
value: obj198
objectReference: {fileID: 0}
- target: {fileID: 4315024395822287230, guid: 0c9b084f2070bda45b87da961d2eb0f6, type: 3} - target: {fileID: 4315024395822287230, guid: 0c9b084f2070bda45b87da961d2eb0f6, type: 3}
propertyPath: m_StaticEditorFlags propertyPath: m_StaticEditorFlags
value: 2147483647 value: 2147483647
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 5427673003371859311, guid: 0c9b084f2070bda45b87da961d2eb0f6, type: 3}
propertyPath: m_Name
value: obj223
objectReference: {fileID: 0}
- target: {fileID: 5427673003371859311, guid: 0c9b084f2070bda45b87da961d2eb0f6, type: 3} - target: {fileID: 5427673003371859311, guid: 0c9b084f2070bda45b87da961d2eb0f6, type: 3}
propertyPath: m_StaticEditorFlags propertyPath: m_StaticEditorFlags
value: 2147483647 value: 2147483647
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 6773993644867240992, guid: 0c9b084f2070bda45b87da961d2eb0f6, type: 3}
propertyPath: m_Name
value: obj227
objectReference: {fileID: 0}
- target: {fileID: 6773993644867240992, guid: 0c9b084f2070bda45b87da961d2eb0f6, type: 3} - target: {fileID: 6773993644867240992, guid: 0c9b084f2070bda45b87da961d2eb0f6, type: 3}
propertyPath: m_StaticEditorFlags propertyPath: m_StaticEditorFlags
value: 2147483647 value: 2147483647
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 7077992237008472060, guid: 0c9b084f2070bda45b87da961d2eb0f6, type: 3}
propertyPath: m_Name
value: obj206
objectReference: {fileID: 0}
- target: {fileID: 7077992237008472060, guid: 0c9b084f2070bda45b87da961d2eb0f6, type: 3} - target: {fileID: 7077992237008472060, guid: 0c9b084f2070bda45b87da961d2eb0f6, type: 3}
propertyPath: m_StaticEditorFlags propertyPath: m_StaticEditorFlags
value: 2147483647 value: 2147483647
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 7322491252510880854, guid: 0c9b084f2070bda45b87da961d2eb0f6, type: 3}
propertyPath: m_Name
value: obj226
objectReference: {fileID: 0}
- target: {fileID: 7322491252510880854, guid: 0c9b084f2070bda45b87da961d2eb0f6, type: 3} - target: {fileID: 7322491252510880854, guid: 0c9b084f2070bda45b87da961d2eb0f6, type: 3}
propertyPath: m_StaticEditorFlags propertyPath: m_StaticEditorFlags
value: 2147483647 value: 2147483647
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 7455878101187352886, guid: 0c9b084f2070bda45b87da961d2eb0f6, type: 3}
propertyPath: m_Name
value: obj225
objectReference: {fileID: 0}
- target: {fileID: 7455878101187352886, guid: 0c9b084f2070bda45b87da961d2eb0f6, type: 3} - target: {fileID: 7455878101187352886, guid: 0c9b084f2070bda45b87da961d2eb0f6, type: 3}
propertyPath: m_StaticEditorFlags propertyPath: m_StaticEditorFlags
value: 2147483647 value: 2147483647
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 8052244126148009048, guid: 0c9b084f2070bda45b87da961d2eb0f6, type: 3}
propertyPath: m_Name
value: obj122
objectReference: {fileID: 0}
- target: {fileID: 8052244126148009048, guid: 0c9b084f2070bda45b87da961d2eb0f6, type: 3} - target: {fileID: 8052244126148009048, guid: 0c9b084f2070bda45b87da961d2eb0f6, type: 3}
propertyPath: m_StaticEditorFlags propertyPath: m_StaticEditorFlags
value: 2147483647 value: 2147483647
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 8443362320608252490, guid: 0c9b084f2070bda45b87da961d2eb0f6, type: 3}
propertyPath: m_Name
value: obj207
objectReference: {fileID: 0}
- target: {fileID: 8443362320608252490, guid: 0c9b084f2070bda45b87da961d2eb0f6, type: 3} - target: {fileID: 8443362320608252490, guid: 0c9b084f2070bda45b87da961d2eb0f6, type: 3}
propertyPath: m_StaticEditorFlags propertyPath: m_StaticEditorFlags
value: 2147483647 value: 2147483647
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 8661539485286681749, guid: 0c9b084f2070bda45b87da961d2eb0f6, type: 3}
propertyPath: m_Name
value: obj209
objectReference: {fileID: 0}
- target: {fileID: 8661539485286681749, guid: 0c9b084f2070bda45b87da961d2eb0f6, type: 3} - target: {fileID: 8661539485286681749, guid: 0c9b084f2070bda45b87da961d2eb0f6, type: 3}
propertyPath: m_StaticEditorFlags propertyPath: m_StaticEditorFlags
value: 2147483647 value: 2147483647
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 8816389197232921522, guid: 0c9b084f2070bda45b87da961d2eb0f6, type: 3}
propertyPath: m_Name
value: obj219
objectReference: {fileID: 0}
- target: {fileID: 8816389197232921522, guid: 0c9b084f2070bda45b87da961d2eb0f6, type: 3} - target: {fileID: 8816389197232921522, guid: 0c9b084f2070bda45b87da961d2eb0f6, type: 3}
propertyPath: m_StaticEditorFlags propertyPath: m_StaticEditorFlags
value: 2147483647 value: 2147483647

View File

@ -123,7 +123,7 @@ public class RecuseNpc : MonoBehaviour
} }
Debug.Log("++++++++++++++++++++++++++++" + targetPoints.Count); Debug.Log("++++++++++++++++++++++++++++" + targetPoints.Count);
if (targetPoints.Count > 0) if (targetPoints.Count > 0 && currentTarget != null)
{ {
currentTarget = targetPoints[0]; currentTarget = targetPoints[0];
@ -172,6 +172,10 @@ public class RecuseNpc : MonoBehaviour
public void Run(Vector3 target) public void Run(Vector3 target)
{ {
if (navMeshAgent.isStopped)
{
navMeshAgent.isStopped = false; // 取消停止状态
}
Debug.Log("进入奔跑"); Debug.Log("进入奔跑");
if (movebool) if (movebool)
{ {