AI #1
13 changed files with 4209 additions and 270 deletions
8
RunningLateGame/Assets/Material.meta
Normal file
8
RunningLateGame/Assets/Material.meta
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: af31566b5077e6045848d15729793e85
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
137
RunningLateGame/Assets/Material/nothing.mat
Normal file
137
RunningLateGame/Assets/Material/nothing.mat
Normal file
|
@ -0,0 +1,137 @@
|
||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!21 &2100000
|
||||||
|
Material:
|
||||||
|
serializedVersion: 8
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_Name: nothing
|
||||||
|
m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3}
|
||||||
|
m_Parent: {fileID: 0}
|
||||||
|
m_ModifiedSerializedProperties: 0
|
||||||
|
m_ValidKeywords:
|
||||||
|
- _ALPHAPREMULTIPLY_ON
|
||||||
|
- _SURFACE_TYPE_TRANSPARENT
|
||||||
|
m_InvalidKeywords: []
|
||||||
|
m_LightmapFlags: 4
|
||||||
|
m_EnableInstancingVariants: 0
|
||||||
|
m_DoubleSidedGI: 0
|
||||||
|
m_CustomRenderQueue: 3000
|
||||||
|
stringTagMap:
|
||||||
|
RenderType: Transparent
|
||||||
|
disabledShaderPasses:
|
||||||
|
- DepthOnly
|
||||||
|
- SHADOWCASTER
|
||||||
|
m_LockedProperties:
|
||||||
|
m_SavedProperties:
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TexEnvs:
|
||||||
|
- _BaseMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _BumpMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _DetailAlbedoMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _DetailMask:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _DetailNormalMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _EmissionMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _MainTex:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _MetallicGlossMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _OcclusionMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _ParallaxMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _SpecGlossMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- unity_Lightmaps:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- unity_LightmapsInd:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- unity_ShadowMasks:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
m_Ints: []
|
||||||
|
m_Floats:
|
||||||
|
- _AlphaClip: 0
|
||||||
|
- _AlphaToMask: 0
|
||||||
|
- _Blend: 0
|
||||||
|
- _BlendModePreserveSpecular: 1
|
||||||
|
- _BumpScale: 1
|
||||||
|
- _ClearCoatMask: 0
|
||||||
|
- _ClearCoatSmoothness: 0
|
||||||
|
- _Cull: 2
|
||||||
|
- _Cutoff: 0.5
|
||||||
|
- _DetailAlbedoMapScale: 1
|
||||||
|
- _DetailNormalMapScale: 1
|
||||||
|
- _DstBlend: 10
|
||||||
|
- _DstBlendAlpha: 10
|
||||||
|
- _EnvironmentReflections: 1
|
||||||
|
- _GlossMapScale: 0
|
||||||
|
- _Glossiness: 0
|
||||||
|
- _GlossyReflections: 0
|
||||||
|
- _Metallic: 0
|
||||||
|
- _OcclusionStrength: 1
|
||||||
|
- _Parallax: 0.005
|
||||||
|
- _QueueOffset: 0
|
||||||
|
- _ReceiveShadows: 1
|
||||||
|
- _Smoothness: 0
|
||||||
|
- _SmoothnessTextureChannel: 0
|
||||||
|
- _SpecularHighlights: 1
|
||||||
|
- _SrcBlend: 1
|
||||||
|
- _SrcBlendAlpha: 1
|
||||||
|
- _Surface: 1
|
||||||
|
- _WorkflowMode: 1
|
||||||
|
- _ZWrite: 0
|
||||||
|
m_Colors:
|
||||||
|
- _BaseColor: {r: 0, g: 0, b: 0, a: 0}
|
||||||
|
- _Color: {r: 0, g: 0, b: 0, a: 0}
|
||||||
|
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
||||||
|
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
|
||||||
|
m_BuildTextureStacks: []
|
||||||
|
--- !u!114 &8248635986458825645
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 11
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 0}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
version: 7
|
8
RunningLateGame/Assets/Material/nothing.mat.meta
Normal file
8
RunningLateGame/Assets/Material/nothing.mat.meta
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: c8307bc3f06474c428efb0638b4ee7d4
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 2100000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
BIN
RunningLateGame/Assets/Prefabs/car.fbx
(Stored with Git LFS)
Normal file
BIN
RunningLateGame/Assets/Prefabs/car.fbx
(Stored with Git LFS)
Normal file
Binary file not shown.
109
RunningLateGame/Assets/Prefabs/car.fbx.meta
Normal file
109
RunningLateGame/Assets/Prefabs/car.fbx.meta
Normal file
|
@ -0,0 +1,109 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: ea8f4c36c1c70304680c14a8eaa0a194
|
||||||
|
ModelImporter:
|
||||||
|
serializedVersion: 22200
|
||||||
|
internalIDToNameTable: []
|
||||||
|
externalObjects: {}
|
||||||
|
materials:
|
||||||
|
materialImportMode: 0
|
||||||
|
materialName: 0
|
||||||
|
materialSearch: 1
|
||||||
|
materialLocation: 1
|
||||||
|
animations:
|
||||||
|
legacyGenerateAnimations: 4
|
||||||
|
bakeSimulation: 0
|
||||||
|
resampleCurves: 1
|
||||||
|
optimizeGameObjects: 0
|
||||||
|
removeConstantScaleCurves: 0
|
||||||
|
motionNodeName:
|
||||||
|
rigImportErrors:
|
||||||
|
rigImportWarnings:
|
||||||
|
animationImportErrors:
|
||||||
|
animationImportWarnings:
|
||||||
|
animationRetargetingWarnings:
|
||||||
|
animationDoRetargetingWarnings: 0
|
||||||
|
importAnimatedCustomProperties: 0
|
||||||
|
importConstraints: 0
|
||||||
|
animationCompression: 1
|
||||||
|
animationRotationError: 0.5
|
||||||
|
animationPositionError: 0.5
|
||||||
|
animationScaleError: 0.5
|
||||||
|
animationWrapMode: 0
|
||||||
|
extraExposedTransformPaths: []
|
||||||
|
extraUserProperties: []
|
||||||
|
clipAnimations: []
|
||||||
|
isReadable: 0
|
||||||
|
meshes:
|
||||||
|
lODScreenPercentages: []
|
||||||
|
globalScale: 1
|
||||||
|
meshCompression: 0
|
||||||
|
addColliders: 1
|
||||||
|
useSRGBMaterialColor: 1
|
||||||
|
sortHierarchyByName: 1
|
||||||
|
importPhysicalCameras: 1
|
||||||
|
importVisibility: 1
|
||||||
|
importBlendShapes: 1
|
||||||
|
importCameras: 1
|
||||||
|
importLights: 1
|
||||||
|
nodeNameCollisionStrategy: 1
|
||||||
|
fileIdsGeneration: 2
|
||||||
|
swapUVChannels: 0
|
||||||
|
generateSecondaryUV: 1
|
||||||
|
useFileUnits: 1
|
||||||
|
keepQuads: 0
|
||||||
|
weldVertices: 1
|
||||||
|
bakeAxisConversion: 0
|
||||||
|
preserveHierarchy: 0
|
||||||
|
skinWeightsMode: 0
|
||||||
|
maxBonesPerVertex: 4
|
||||||
|
minBoneWeight: 0.001
|
||||||
|
optimizeBones: 1
|
||||||
|
meshOptimizationFlags: -1
|
||||||
|
indexFormat: 0
|
||||||
|
secondaryUVAngleDistortion: 8
|
||||||
|
secondaryUVAreaDistortion: 15.000001
|
||||||
|
secondaryUVHardAngle: 88
|
||||||
|
secondaryUVMarginMethod: 1
|
||||||
|
secondaryUVMinLightmapResolution: 40
|
||||||
|
secondaryUVMinObjectScale: 1
|
||||||
|
secondaryUVPackMargin: 4
|
||||||
|
useFileScale: 1
|
||||||
|
strictVertexDataChecks: 0
|
||||||
|
tangentSpace:
|
||||||
|
normalSmoothAngle: 60
|
||||||
|
normalImportMode: 0
|
||||||
|
tangentImportMode: 3
|
||||||
|
normalCalculationMode: 4
|
||||||
|
legacyComputeAllNormalsFromSmoothingGroupsWhenMeshHasBlendShapes: 0
|
||||||
|
blendShapeNormalImportMode: 1
|
||||||
|
normalSmoothingSource: 0
|
||||||
|
referencedClips: []
|
||||||
|
importAnimation: 1
|
||||||
|
humanDescription:
|
||||||
|
serializedVersion: 3
|
||||||
|
human: []
|
||||||
|
skeleton: []
|
||||||
|
armTwist: 0.5
|
||||||
|
foreArmTwist: 0.5
|
||||||
|
upperLegTwist: 0.5
|
||||||
|
legTwist: 0.5
|
||||||
|
armStretch: 0.05
|
||||||
|
legStretch: 0.05
|
||||||
|
feetSpacing: 0
|
||||||
|
globalScale: 1
|
||||||
|
rootMotionBoneName:
|
||||||
|
hasTranslationDoF: 0
|
||||||
|
hasExtraRoot: 0
|
||||||
|
skeletonHasParents: 1
|
||||||
|
lastHumanDescriptionAvatarSource: {instanceID: 0}
|
||||||
|
autoGenerateAvatarMappingIfUnspecified: 1
|
||||||
|
animationType: 2
|
||||||
|
humanoidOversampling: 1
|
||||||
|
avatarSetup: 0
|
||||||
|
addHumanoidExtraRootOnlyWhenUsingAvatar: 1
|
||||||
|
importBlendShapeDeformPercent: 1
|
||||||
|
remapMaterialsIfMaterialImportModeIsNone: 0
|
||||||
|
additionalBone: 0
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
3155
RunningLateGame/Assets/Prefabs/player.prefab
Normal file
3155
RunningLateGame/Assets/Prefabs/player.prefab
Normal file
File diff suppressed because it is too large
Load diff
7
RunningLateGame/Assets/Prefabs/player.prefab.meta
Normal file
7
RunningLateGame/Assets/Prefabs/player.prefab.meta
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: fede53ad5812a1046bf12a85cacb875a
|
||||||
|
PrefabImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
|
@ -122,97 +122,6 @@ NavMeshSettings:
|
||||||
debug:
|
debug:
|
||||||
m_Flags: 0
|
m_Flags: 0
|
||||||
m_NavMeshData: {fileID: 23800000, guid: 8237b59589e7d0f43920c1a2f5ae94f8, type: 2}
|
m_NavMeshData: {fileID: 23800000, guid: 8237b59589e7d0f43920c1a2f5ae94f8, type: 2}
|
||||||
--- !u!1001 &260549220
|
|
||||||
PrefabInstance:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
serializedVersion: 2
|
|
||||||
m_Modification:
|
|
||||||
serializedVersion: 3
|
|
||||||
m_TransformParent: {fileID: 0}
|
|
||||||
m_Modifications:
|
|
||||||
- target: {fileID: -8679921383154817045, guid: 36078ab0369161e49a29d349ae3e0739,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: m_LocalPosition.x
|
|
||||||
value: 511.52286
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: -8679921383154817045, guid: 36078ab0369161e49a29d349ae3e0739,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: m_LocalPosition.y
|
|
||||||
value: 0.000020980835
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: -8679921383154817045, guid: 36078ab0369161e49a29d349ae3e0739,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: m_LocalPosition.z
|
|
||||||
value: 500.90823
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: -8679921383154817045, guid: 36078ab0369161e49a29d349ae3e0739,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: m_LocalRotation.w
|
|
||||||
value: 1
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: -8679921383154817045, guid: 36078ab0369161e49a29d349ae3e0739,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: m_LocalRotation.x
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: -8679921383154817045, guid: 36078ab0369161e49a29d349ae3e0739,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: m_LocalRotation.y
|
|
||||||
value: -0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: -8679921383154817045, guid: 36078ab0369161e49a29d349ae3e0739,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: m_LocalRotation.z
|
|
||||||
value: -0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: -8679921383154817045, guid: 36078ab0369161e49a29d349ae3e0739,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: m_LocalEulerAnglesHint.x
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: -8679921383154817045, guid: 36078ab0369161e49a29d349ae3e0739,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: m_LocalEulerAnglesHint.y
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: -8679921383154817045, guid: 36078ab0369161e49a29d349ae3e0739,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: m_LocalEulerAnglesHint.z
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 919132149155446097, guid: 36078ab0369161e49a29d349ae3e0739,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: m_Name
|
|
||||||
value: Armature
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 5866666021909216657, guid: 36078ab0369161e49a29d349ae3e0739,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: m_Controller
|
|
||||||
value:
|
|
||||||
objectReference: {fileID: 9100000, guid: 40db3173a05ae3242b1c182a09b0a183, type: 2}
|
|
||||||
m_RemovedComponents: []
|
|
||||||
m_RemovedGameObjects: []
|
|
||||||
m_AddedGameObjects: []
|
|
||||||
m_AddedComponents:
|
|
||||||
- targetCorrespondingSourceObject: {fileID: 919132149155446097, guid: 36078ab0369161e49a29d349ae3e0739,
|
|
||||||
type: 3}
|
|
||||||
insertIndex: -1
|
|
||||||
addedObject: {fileID: 981780478}
|
|
||||||
- targetCorrespondingSourceObject: {fileID: 919132149155446097, guid: 36078ab0369161e49a29d349ae3e0739,
|
|
||||||
type: 3}
|
|
||||||
insertIndex: -1
|
|
||||||
addedObject: {fileID: 981780477}
|
|
||||||
- targetCorrespondingSourceObject: {fileID: 919132149155446097, guid: 36078ab0369161e49a29d349ae3e0739,
|
|
||||||
type: 3}
|
|
||||||
insertIndex: -1
|
|
||||||
addedObject: {fileID: 981780479}
|
|
||||||
m_SourcePrefab: {fileID: 100100000, guid: 36078ab0369161e49a29d349ae3e0739, type: 3}
|
|
||||||
--- !u!4 &360440460 stripped
|
|
||||||
Transform:
|
|
||||||
m_CorrespondingSourceObject: {fileID: 937451010987979973, guid: 035bf1ba97d19214580cfe6f5a29fdc3,
|
|
||||||
type: 3}
|
|
||||||
m_PrefabInstance: {fileID: 1575473178}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
--- !u!1 &410087039
|
--- !u!1 &410087039
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
@ -380,78 +289,6 @@ Transform:
|
||||||
m_Children: []
|
m_Children: []
|
||||||
m_Father: {fileID: 0}
|
m_Father: {fileID: 0}
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
--- !u!1 &981780474 stripped
|
|
||||||
GameObject:
|
|
||||||
m_CorrespondingSourceObject: {fileID: 919132149155446097, guid: 36078ab0369161e49a29d349ae3e0739,
|
|
||||||
type: 3}
|
|
||||||
m_PrefabInstance: {fileID: 260549220}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
--- !u!195 &981780477
|
|
||||||
NavMeshAgent:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 981780474}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_AgentTypeID: 0
|
|
||||||
m_Radius: 0.5
|
|
||||||
m_Speed: 2.5
|
|
||||||
m_Acceleration: 8
|
|
||||||
avoidancePriority: 50
|
|
||||||
m_AngularSpeed: 120
|
|
||||||
m_StoppingDistance: 0
|
|
||||||
m_AutoTraverseOffMeshLink: 1
|
|
||||||
m_AutoBraking: 1
|
|
||||||
m_AutoRepath: 1
|
|
||||||
m_Height: 2
|
|
||||||
m_BaseOffset: 0
|
|
||||||
m_WalkableMask: 4294967295
|
|
||||||
m_ObstacleAvoidanceType: 4
|
|
||||||
--- !u!114 &981780478
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 981780474}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 0
|
|
||||||
m_Script: {fileID: 11500000, guid: f6822f90b5efff04997e5b884d402be8, type: 3}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
type: 0
|
|
||||||
walkableLayers:
|
|
||||||
serializedVersion: 2
|
|
||||||
m_Bits: 4294967295
|
|
||||||
player: {fileID: 360440460}
|
|
||||||
--- !u!54 &981780479
|
|
||||||
Rigidbody:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 981780474}
|
|
||||||
serializedVersion: 4
|
|
||||||
m_Mass: 1
|
|
||||||
m_Drag: 0
|
|
||||||
m_AngularDrag: 0.05
|
|
||||||
m_CenterOfMass: {x: 0, y: 0, z: 0}
|
|
||||||
m_InertiaTensor: {x: 1, y: 1, z: 1}
|
|
||||||
m_InertiaRotation: {x: 0, y: 0, z: 0, w: 1}
|
|
||||||
m_IncludeLayers:
|
|
||||||
serializedVersion: 2
|
|
||||||
m_Bits: 0
|
|
||||||
m_ExcludeLayers:
|
|
||||||
serializedVersion: 2
|
|
||||||
m_Bits: 0
|
|
||||||
m_ImplicitCom: 1
|
|
||||||
m_ImplicitTensor: 1
|
|
||||||
m_UseGravity: 1
|
|
||||||
m_IsKinematic: 0
|
|
||||||
m_Interpolate: 0
|
|
||||||
m_Constraints: 0
|
|
||||||
m_CollisionDetection: 0
|
|
||||||
--- !u!1 &1234375544
|
--- !u!1 &1234375544
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
@ -545,7 +382,7 @@ Transform:
|
||||||
m_Children: []
|
m_Children: []
|
||||||
m_Father: {fileID: 0}
|
m_Father: {fileID: 0}
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
--- !u!1001 &1575473178
|
--- !u!1001 &1703341036
|
||||||
PrefabInstance:
|
PrefabInstance:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
|
@ -553,96 +390,698 @@ PrefabInstance:
|
||||||
serializedVersion: 3
|
serializedVersion: 3
|
||||||
m_TransformParent: {fileID: 0}
|
m_TransformParent: {fileID: 0}
|
||||||
m_Modifications:
|
m_Modifications:
|
||||||
- target: {fileID: 2862278905927072855, guid: 035bf1ba97d19214580cfe6f5a29fdc3,
|
- target: {fileID: 3099361323485180504, guid: aebcdae242e01f94b8df85895a81a0ff,
|
||||||
type: 3}
|
type: 3}
|
||||||
propertyPath: m_LocalPosition.y
|
propertyPath: m_Name
|
||||||
value: 1.375
|
value: AI person
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 5126527961139664760, guid: 035bf1ba97d19214580cfe6f5a29fdc3,
|
- target: {fileID: 3313027092289172340, guid: aebcdae242e01f94b8df85895a81a0ff,
|
||||||
type: 3}
|
type: 3}
|
||||||
propertyPath: m_LocalPosition.y
|
propertyPath: movingRange
|
||||||
value: 1.375
|
value: 100
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 5126527961139664767, guid: 035bf1ba97d19214580cfe6f5a29fdc3,
|
- target: {fileID: 5450023787025606243, guid: aebcdae242e01f94b8df85895a81a0ff,
|
||||||
type: 3}
|
|
||||||
propertyPath: m_BackGroundColor.a
|
|
||||||
value: 1
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 5126527961139664767, guid: 035bf1ba97d19214580cfe6f5a29fdc3,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: m_BackGroundColor.b
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 5126527961139664767, guid: 035bf1ba97d19214580cfe6f5a29fdc3,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: m_BackGroundColor.g
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 5126527961139664767, guid: 035bf1ba97d19214580cfe6f5a29fdc3,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: m_BackGroundColor.r
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 6556307555316582679, guid: 035bf1ba97d19214580cfe6f5a29fdc3,
|
|
||||||
type: 3}
|
type: 3}
|
||||||
propertyPath: m_LocalPosition.x
|
propertyPath: m_LocalPosition.x
|
||||||
value: 500.35
|
value: 496.55017
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 6556307555316582679, guid: 035bf1ba97d19214580cfe6f5a29fdc3,
|
- target: {fileID: 5450023787025606243, guid: aebcdae242e01f94b8df85895a81a0ff,
|
||||||
type: 3}
|
type: 3}
|
||||||
propertyPath: m_LocalPosition.y
|
propertyPath: m_LocalPosition.y
|
||||||
value: 0
|
value: 0.01
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 6556307555316582679, guid: 035bf1ba97d19214580cfe6f5a29fdc3,
|
- target: {fileID: 5450023787025606243, guid: aebcdae242e01f94b8df85895a81a0ff,
|
||||||
type: 3}
|
type: 3}
|
||||||
propertyPath: m_LocalPosition.z
|
propertyPath: m_LocalPosition.z
|
||||||
value: 500.02
|
value: 509.87622
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 6556307555316582679, guid: 035bf1ba97d19214580cfe6f5a29fdc3,
|
- target: {fileID: 5450023787025606243, guid: aebcdae242e01f94b8df85895a81a0ff,
|
||||||
type: 3}
|
type: 3}
|
||||||
propertyPath: m_LocalRotation.w
|
propertyPath: m_LocalRotation.w
|
||||||
value: 1
|
value: 1
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 6556307555316582679, guid: 035bf1ba97d19214580cfe6f5a29fdc3,
|
- target: {fileID: 5450023787025606243, guid: aebcdae242e01f94b8df85895a81a0ff,
|
||||||
type: 3}
|
type: 3}
|
||||||
propertyPath: m_LocalRotation.x
|
propertyPath: m_LocalRotation.x
|
||||||
value: 0
|
value: 0
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 6556307555316582679, guid: 035bf1ba97d19214580cfe6f5a29fdc3,
|
- target: {fileID: 5450023787025606243, guid: aebcdae242e01f94b8df85895a81a0ff,
|
||||||
type: 3}
|
type: 3}
|
||||||
propertyPath: m_LocalRotation.y
|
propertyPath: m_LocalRotation.y
|
||||||
value: 0
|
value: -0
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 6556307555316582679, guid: 035bf1ba97d19214580cfe6f5a29fdc3,
|
- target: {fileID: 5450023787025606243, guid: aebcdae242e01f94b8df85895a81a0ff,
|
||||||
type: 3}
|
type: 3}
|
||||||
propertyPath: m_LocalRotation.z
|
propertyPath: m_LocalRotation.z
|
||||||
value: 0
|
value: -0
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 6556307555316582679, guid: 035bf1ba97d19214580cfe6f5a29fdc3,
|
- target: {fileID: 5450023787025606243, guid: aebcdae242e01f94b8df85895a81a0ff,
|
||||||
type: 3}
|
type: 3}
|
||||||
propertyPath: m_LocalEulerAnglesHint.x
|
propertyPath: m_LocalEulerAnglesHint.x
|
||||||
value: 0
|
value: 0
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 6556307555316582679, guid: 035bf1ba97d19214580cfe6f5a29fdc3,
|
- target: {fileID: 5450023787025606243, guid: aebcdae242e01f94b8df85895a81a0ff,
|
||||||
type: 3}
|
type: 3}
|
||||||
propertyPath: m_LocalEulerAnglesHint.y
|
propertyPath: m_LocalEulerAnglesHint.y
|
||||||
value: 0
|
value: 0
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 6556307555316582679, guid: 035bf1ba97d19214580cfe6f5a29fdc3,
|
- target: {fileID: 5450023787025606243, guid: aebcdae242e01f94b8df85895a81a0ff,
|
||||||
type: 3}
|
type: 3}
|
||||||
propertyPath: m_LocalEulerAnglesHint.z
|
propertyPath: m_LocalEulerAnglesHint.z
|
||||||
value: 0
|
value: 0
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 7094977340588366727, guid: 035bf1ba97d19214580cfe6f5a29fdc3,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: m_Name
|
|
||||||
value: NestedParent_Unpack
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
m_RemovedComponents: []
|
m_RemovedComponents: []
|
||||||
m_RemovedGameObjects: []
|
m_RemovedGameObjects: []
|
||||||
m_AddedGameObjects: []
|
m_AddedGameObjects: []
|
||||||
m_AddedComponents: []
|
m_AddedComponents: []
|
||||||
m_SourcePrefab: {fileID: 100100000, guid: 035bf1ba97d19214580cfe6f5a29fdc3, type: 3}
|
m_SourcePrefab: {fileID: 100100000, guid: aebcdae242e01f94b8df85895a81a0ff, type: 3}
|
||||||
|
--- !u!1001 &2074923475
|
||||||
|
PrefabInstance:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Modification:
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TransformParent: {fileID: 0}
|
||||||
|
m_Modifications:
|
||||||
|
- target: {fileID: -8679921383154817045, guid: ea8f4c36c1c70304680c14a8eaa0a194,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalPosition.x
|
||||||
|
value: 498.82324
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: -8679921383154817045, guid: ea8f4c36c1c70304680c14a8eaa0a194,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalPosition.y
|
||||||
|
value: 0.66
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: -8679921383154817045, guid: ea8f4c36c1c70304680c14a8eaa0a194,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalPosition.z
|
||||||
|
value: 508.08978
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: -8679921383154817045, guid: ea8f4c36c1c70304680c14a8eaa0a194,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.w
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: -8679921383154817045, guid: ea8f4c36c1c70304680c14a8eaa0a194,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: -8679921383154817045, guid: ea8f4c36c1c70304680c14a8eaa0a194,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.y
|
||||||
|
value: -0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: -8679921383154817045, guid: ea8f4c36c1c70304680c14a8eaa0a194,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.z
|
||||||
|
value: -0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: -8679921383154817045, guid: ea8f4c36c1c70304680c14a8eaa0a194,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: -8679921383154817045, guid: ea8f4c36c1c70304680c14a8eaa0a194,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: -8679921383154817045, guid: ea8f4c36c1c70304680c14a8eaa0a194,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 919132149155446097, guid: ea8f4c36c1c70304680c14a8eaa0a194,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Name
|
||||||
|
value: car
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
m_RemovedComponents: []
|
||||||
|
m_RemovedGameObjects: []
|
||||||
|
m_AddedGameObjects: []
|
||||||
|
m_AddedComponents: []
|
||||||
|
m_SourcePrefab: {fileID: 100100000, guid: ea8f4c36c1c70304680c14a8eaa0a194, type: 3}
|
||||||
|
--- !u!1001 &7156582456560016067
|
||||||
|
PrefabInstance:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Modification:
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TransformParent: {fileID: 0}
|
||||||
|
m_Modifications:
|
||||||
|
- target: {fileID: 81074463799861393, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 6
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 126756064612061490, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 6
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 304962465596172969, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 6
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 307597139046816235, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 6
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 307597139046816235, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_IsActive
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 353832093112741424, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 6
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 361195985055700108, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 6
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 435543329196081579, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 6
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 450890765987076906, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_CameraType
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 450890765987076906, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_RenderPostProcessing
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 600456120349483347, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 6
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 652242078653434267, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 6
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 658403210171667372, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 6
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 669696519396113708, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 6
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 822770061269842300, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 6
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 823514949299020511, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 6
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 902202382096009844, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 6
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1203206580177751693, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 6
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1244581404974933671, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 6
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1276608354021537599, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalPosition.x
|
||||||
|
value: 500.32025
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1276608354021537599, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalPosition.y
|
||||||
|
value: 0.79
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1276608354021537599, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalPosition.z
|
||||||
|
value: 500.90878
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1276608354021537599, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.w
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1276608354021537599, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1276608354021537599, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1276608354021537599, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1276608354021537599, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1276608354021537599, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1276608354021537599, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1327321720273869461, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1329381719457594304, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1444331161433250082, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 6
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1475518765439445092, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: FootstepAudioVolume
|
||||||
|
value: 0.093
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1518818056364163934, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 6
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1856558313431808921, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 6
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1959372330305291913, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 6
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 2015612525904310173, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 6
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 2022181069659277476, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 6
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 2046696814205311508, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 6
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 2054757396146029967, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 6
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 2103280343267028805, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 6
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 2397091909657394069, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 6
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 2408086554161943408, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 6
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 2472212172553090413, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 6
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 2497621310306730574, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 6
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 2556747723997696750, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 6
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 2834927084378826127, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 6
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 2865719755918641732, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 6
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 2956650938742809215, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 6
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 2987783351652969003, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 6
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 3057960413475439871, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 6
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 3192835029698252479, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 6
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 3201753624137706982, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 6
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 3300562203628116069, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 6
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 3342968287108644475, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 6
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 3765157367049011799, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 6
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 3787838655958166391, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 6
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 3823464080312413016, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 6
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4032931963707254106, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 6
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4087837994714891439, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 6
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4178917326470280841, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 6
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4344871733229429685, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 6
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4410574541191045879, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 6
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4462610437767601070, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 6
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4465937683457646742, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 6
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4616049045149831945, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 6
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4913484926357117429, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 6
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4922819098552353914, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 6
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 5152665870167102509, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 6
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 5224603200520802375, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 6
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 5316379943531473649, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 6
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 5350377644560501627, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 6
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 5351052729698206485, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 6
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6059963189683946240, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 6
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6184407580870507887, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 6
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6208416322626333988, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 6
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6312377616958202991, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 6
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6379039415219323587, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 6
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6568058168058178064, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 6
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6898763908111125969, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 6
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6975642403875295412, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Radius
|
||||||
|
value: 0.25
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 7099817526074417259, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 6
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 7350897504558037640, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 6
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 7550015751290207618, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Name
|
||||||
|
value: player
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 7550015751290207618, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 7982913088237292999, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Lens.NearClipPlane
|
||||||
|
value: 0.01
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8095935156884082947, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 6
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8172261518257806202, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Enabled
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8172261518257806202, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Quality
|
||||||
|
value: 4
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8172261518257806202, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Materials.Array.size
|
||||||
|
value: 3
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8172261518257806202, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_SkinnedMotionVectors
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8172261518257806202, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Materials.Array.data[0]
|
||||||
|
value:
|
||||||
|
objectReference: {fileID: 2100000, guid: 43714b68324cc2c409d534d9874f2a2b, type: 2}
|
||||||
|
- target: {fileID: 8172261518257806202, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Materials.Array.data[1]
|
||||||
|
value:
|
||||||
|
objectReference: {fileID: 2100000, guid: 766fd3ff04aab4745a764d33daac86fa, type: 2}
|
||||||
|
- target: {fileID: 8172261518257806202, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Materials.Array.data[2]
|
||||||
|
value:
|
||||||
|
objectReference: {fileID: 2100000, guid: 8b25e99361ac31d4e9ae83c46aee69ea, type: 2}
|
||||||
|
- target: {fileID: 8172261518257806202, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Materials.Array.data[3]
|
||||||
|
value:
|
||||||
|
objectReference: {fileID: 2100000, guid: 8b25e99361ac31d4e9ae83c46aee69ea, type: 2}
|
||||||
|
- target: {fileID: 8172261518257806202, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Materials.Array.data[4]
|
||||||
|
value:
|
||||||
|
objectReference: {fileID: 2100000, guid: 3300a5c4710bac244815734e484b3b90, type: 2}
|
||||||
|
- target: {fileID: 8382773542465432703, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8454057317721622983, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: orthographic
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8454057317721622983, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_FocalLength
|
||||||
|
value: 15.638705
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8454057317721622983, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: near clip plane
|
||||||
|
value: 0.01
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8454057317721622983, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_CullingMask.m_Bits
|
||||||
|
value: 55
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8454057317721622983, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_projectionMatrixMode
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8616093230327963868, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 6
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8675182875722233513, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 6
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8685217667857336007, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 6
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8702710732331867847, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 6
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8840351171611903202, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 9087934753579065330, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 6
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 9166657967130514515, guid: fede53ad5812a1046bf12a85cacb875a,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 6
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
m_RemovedComponents:
|
||||||
|
- {fileID: 488862059449181983, guid: fede53ad5812a1046bf12a85cacb875a, type: 3}
|
||||||
|
m_RemovedGameObjects: []
|
||||||
|
m_AddedGameObjects: []
|
||||||
|
m_AddedComponents: []
|
||||||
|
m_SourcePrefab: {fileID: 100100000, guid: fede53ad5812a1046bf12a85cacb875a, type: 3}
|
||||||
--- !u!1660057539 &9223372036854775807
|
--- !u!1660057539 &9223372036854775807
|
||||||
SceneRoots:
|
SceneRoots:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
@ -650,5 +1089,6 @@ SceneRoots:
|
||||||
- {fileID: 410087041}
|
- {fileID: 410087041}
|
||||||
- {fileID: 832575519}
|
- {fileID: 832575519}
|
||||||
- {fileID: 1234375547}
|
- {fileID: 1234375547}
|
||||||
- {fileID: 1575473178}
|
- {fileID: 2074923475}
|
||||||
- {fileID: 260549220}
|
- {fileID: 1703341036}
|
||||||
|
- {fileID: 7156582456560016067}
|
||||||
|
|
|
@ -7,29 +7,72 @@
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using UnityEngine.AI;
|
using UnityEngine.AI;
|
||||||
|
|
||||||
using Random = System.Random;
|
using Random = System.Random;
|
||||||
|
|
||||||
public class AI : MonoBehaviour
|
public class AI : MonoBehaviour
|
||||||
{
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// the types of ai that this game object can be
|
||||||
|
/// </summary>
|
||||||
public enum EntityType
|
public enum EntityType
|
||||||
{
|
{
|
||||||
Human,
|
Human,
|
||||||
Car
|
Car
|
||||||
};
|
}
|
||||||
|
|
||||||
public EntityType entityType;
|
/// <summary>
|
||||||
public LayerMask walkableLayers;
|
/// to save resources when referring to the speed of this ai if its a human
|
||||||
private NavMeshAgent _agent;
|
/// </summary>
|
||||||
private Animator _animator;
|
|
||||||
private string _currentState;
|
|
||||||
private string _nextState;
|
|
||||||
private static readonly int AnimatorSpeed = Animator.StringToHash("Speed");
|
private static readonly int AnimatorSpeed = Animator.StringToHash("Speed");
|
||||||
private bool _walkPointSet;
|
|
||||||
public Vector3 walkPoint;
|
|
||||||
public int strollRange;
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// to show the entity types in the inspector as a dropdown
|
||||||
|
/// </summary>
|
||||||
|
public EntityType entityType;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// set the layers the AI can be on
|
||||||
|
/// </summary>
|
||||||
|
public LayerMask walkableLayers;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// the destination coordinate of the AI
|
||||||
|
/// </summary>
|
||||||
|
public Vector3 destinationCoord;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// the range that the AI can set as their destination
|
||||||
|
/// </summary>
|
||||||
|
public int movingRange;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// the nav mash agent that is on this AI
|
||||||
|
/// </summary>
|
||||||
|
private NavMeshAgent _agent;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// the animator that is attached to this AI if applicable
|
||||||
|
/// </summary>
|
||||||
|
private Animator _animator;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// the current state that the AI is at this point in time
|
||||||
|
/// </summary>
|
||||||
|
private string _currentState;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// a bool to check if the destination point is set
|
||||||
|
/// </summary>
|
||||||
|
private bool _destinationPointSet;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// the state that the AI will be on the next update
|
||||||
|
/// </summary>
|
||||||
|
private string _nextState;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// to set initial values
|
||||||
|
/// </summary>
|
||||||
public void Awake()
|
public void Awake()
|
||||||
{
|
{
|
||||||
_agent = GetComponent<NavMeshAgent>();
|
_agent = GetComponent<NavMeshAgent>();
|
||||||
|
@ -37,56 +80,65 @@ public class AI : MonoBehaviour
|
||||||
{
|
{
|
||||||
_animator = GetComponent<Animator>();
|
_animator = GetComponent<Animator>();
|
||||||
_currentState = "Strolling";
|
_currentState = "Strolling";
|
||||||
StartCoroutine(Strolling());
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
_nextState = _currentState;
|
||||||
|
ChangeState();
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// to update the speed of the AI to the animator each frame and to update any state changes to the ai
|
||||||
|
/// </summary>
|
||||||
public void Update()
|
public void Update()
|
||||||
{
|
{
|
||||||
if (entityType == EntityType.Human)
|
if (entityType == EntityType.Human) _animator.SetFloat(AnimatorSpeed, _agent.velocity.magnitude);
|
||||||
{
|
_currentState = _nextState;
|
||||||
_animator.SetFloat(AnimatorSpeed, _agent.velocity.magnitude);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// to change the scene when needed
|
||||||
|
/// </summary>
|
||||||
|
public void ChangeState()
|
||||||
|
{
|
||||||
|
StartCoroutine(_currentState);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// to set a random x and y coordinate for the AI to go to
|
||||||
|
/// </summary>
|
||||||
private void SearchWalkPoint()
|
private void SearchWalkPoint()
|
||||||
{
|
{
|
||||||
var rand = new Random();
|
var rand = new Random();
|
||||||
float randomX = rand.Next(-strollRange * 100, strollRange * 100);
|
float randomX = rand.Next(-movingRange * 100, movingRange * 100);
|
||||||
float randomZ = rand.Next(-strollRange * 100, strollRange * 100);
|
float randomZ = rand.Next(-movingRange * 100, movingRange * 100);
|
||||||
walkPoint = new Vector3(
|
destinationCoord = new Vector3(
|
||||||
transform.position.x + (randomX / 100),
|
transform.position.x + randomX / 100,
|
||||||
transform.position.y,
|
transform.position.y,
|
||||||
transform.position.z + (randomZ / 100)
|
transform.position.z + randomZ / 100
|
||||||
);
|
);
|
||||||
if (Physics.Raycast(walkPoint, -transform.up, 2f, walkableLayers))
|
if (Physics.Raycast(destinationCoord, -transform.up, 2f, walkableLayers)) _destinationPointSet = true;
|
||||||
{
|
|
||||||
_walkPointSet = true;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
IEnumerator Strolling()
|
/// <summary>
|
||||||
|
/// a state that the AI wonders around using the SearchWalkPoint function to find a location for the AI to go to
|
||||||
|
/// </summary>
|
||||||
|
private IEnumerator Strolling()
|
||||||
{
|
{
|
||||||
SearchWalkPoint();
|
SearchWalkPoint();
|
||||||
|
|
||||||
while (_currentState == "Strolling")
|
while (_currentState == "Strolling")
|
||||||
{
|
{
|
||||||
Debug.Log("strolling");
|
Debug.Log("strolling");
|
||||||
if (!_walkPointSet)
|
if (!_destinationPointSet)
|
||||||
{
|
|
||||||
SearchWalkPoint();
|
SearchWalkPoint();
|
||||||
}
|
|
||||||
else
|
else
|
||||||
{
|
_agent.SetDestination(destinationCoord);
|
||||||
_agent.SetDestination((walkPoint));
|
|
||||||
|
if ((transform.position - destinationCoord).magnitude < 1f) _destinationPointSet = false;
|
||||||
|
|
||||||
|
yield return new WaitForSeconds(1f);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((transform.position - walkPoint).magnitude < 1f)
|
ChangeState();
|
||||||
{
|
|
||||||
_walkPointSet = false;
|
|
||||||
}
|
|
||||||
|
|
||||||
yield return new WaitForSeconds(1F);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -32,7 +32,7 @@ Material:
|
||||||
m_LightmapFlags: 4
|
m_LightmapFlags: 4
|
||||||
m_EnableInstancingVariants: 0
|
m_EnableInstancingVariants: 0
|
||||||
m_DoubleSidedGI: 0
|
m_DoubleSidedGI: 0
|
||||||
m_CustomRenderQueue: -1
|
m_CustomRenderQueue: 2000
|
||||||
stringTagMap:
|
stringTagMap:
|
||||||
RenderType: Opaque
|
RenderType: Opaque
|
||||||
disabledShaderPasses:
|
disabledShaderPasses:
|
||||||
|
@ -137,4 +137,3 @@ Material:
|
||||||
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
||||||
- _SpecColor: {r: 0.2, g: 0.2, b: 0.2, a: 1}
|
- _SpecColor: {r: 0.2, g: 0.2, b: 0.2, a: 1}
|
||||||
m_BuildTextureStacks: []
|
m_BuildTextureStacks: []
|
||||||
m_AllowLocking: 1
|
|
||||||
|
|
|
@ -17,15 +17,25 @@ MonoBehaviour:
|
||||||
m_MaterialReferences: []
|
m_MaterialReferences: []
|
||||||
--- !u!21 &2100000
|
--- !u!21 &2100000
|
||||||
Material:
|
Material:
|
||||||
serializedVersion: 6
|
serializedVersion: 8
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
m_PrefabInstance: {fileID: 0}
|
m_PrefabInstance: {fileID: 0}
|
||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
m_Name: Heather
|
m_Name: Heather
|
||||||
m_Shader: {fileID: -6465566751694194690, guid: dfa3b96612ed4df4a97b7fd06217ba23, type: 3}
|
m_Shader: {fileID: -6465566751694194690, guid: dfa3b96612ed4df4a97b7fd06217ba23,
|
||||||
m_ShaderKeywords: _ALPHATEST_ON _BUILTIN_ALPHATEST_ON _BUILTIN_AlphaClip _DISABLE_DECALS
|
type: 3}
|
||||||
_DISABLE_SSR _DISABLE_SSR_TRANSPARENT _DOUBLESIDED_ON
|
m_Parent: {fileID: 0}
|
||||||
|
m_ModifiedSerializedProperties: 0
|
||||||
|
m_ValidKeywords:
|
||||||
|
- _ALPHATEST_ON
|
||||||
|
- _BUILTIN_ALPHATEST_ON
|
||||||
|
- _BUILTIN_AlphaClip
|
||||||
|
- _DISABLE_DECALS
|
||||||
|
- _DISABLE_SSR
|
||||||
|
- _DISABLE_SSR_TRANSPARENT
|
||||||
|
- _DOUBLESIDED_ON
|
||||||
|
m_InvalidKeywords: []
|
||||||
m_LightmapFlags: 2
|
m_LightmapFlags: 2
|
||||||
m_EnableInstancingVariants: 1
|
m_EnableInstancingVariants: 1
|
||||||
m_DoubleSidedGI: 1
|
m_DoubleSidedGI: 1
|
||||||
|
@ -40,6 +50,7 @@ Material:
|
||||||
- RayTracingPrepass
|
- RayTracingPrepass
|
||||||
- ForwardEmissiveForDeferred
|
- ForwardEmissiveForDeferred
|
||||||
- MOTIONVECTORS
|
- MOTIONVECTORS
|
||||||
|
m_LockedProperties:
|
||||||
m_SavedProperties:
|
m_SavedProperties:
|
||||||
serializedVersion: 3
|
serializedVersion: 3
|
||||||
m_TexEnvs:
|
m_TexEnvs:
|
||||||
|
@ -56,11 +67,13 @@ Material:
|
||||||
m_Scale: {x: 1, y: 1}
|
m_Scale: {x: 1, y: 1}
|
||||||
m_Offset: {x: 0, y: 0}
|
m_Offset: {x: 0, y: 0}
|
||||||
- TerrainTexture:
|
- TerrainTexture:
|
||||||
m_Texture: {fileID: 707188533860266558, guid: dfce0fe87ba57ef449f748baa61f1cc2, type: 2}
|
m_Texture: {fileID: 707188533860266558, guid: dfce0fe87ba57ef449f748baa61f1cc2,
|
||||||
|
type: 2}
|
||||||
m_Scale: {x: 1, y: 1}
|
m_Scale: {x: 1, y: 1}
|
||||||
m_Offset: {x: 0, y: 0}
|
m_Offset: {x: 0, y: 0}
|
||||||
- Terrain_Splatmap:
|
- Terrain_Splatmap:
|
||||||
m_Texture: {fileID: 707188533860266558, guid: dfce0fe87ba57ef449f748baa61f1cc2, type: 2}
|
m_Texture: {fileID: 707188533860266558, guid: dfce0fe87ba57ef449f748baa61f1cc2,
|
||||||
|
type: 2}
|
||||||
m_Scale: {x: 1, y: 1}
|
m_Scale: {x: 1, y: 1}
|
||||||
m_Offset: {x: 0, y: 0}
|
m_Offset: {x: 0, y: 0}
|
||||||
- Terrain_Splatmap_0:
|
- Terrain_Splatmap_0:
|
||||||
|
@ -68,7 +81,8 @@ Material:
|
||||||
m_Scale: {x: 1, y: 1}
|
m_Scale: {x: 1, y: 1}
|
||||||
m_Offset: {x: 0, y: 0}
|
m_Offset: {x: 0, y: 0}
|
||||||
- Terrain_Splatmap_1:
|
- Terrain_Splatmap_1:
|
||||||
m_Texture: {fileID: 6456901915053530685, guid: dfce0fe87ba57ef449f748baa61f1cc2, type: 2}
|
m_Texture: {fileID: 6456901915053530685, guid: dfce0fe87ba57ef449f748baa61f1cc2,
|
||||||
|
type: 2}
|
||||||
m_Scale: {x: 1, y: 1}
|
m_Scale: {x: 1, y: 1}
|
||||||
m_Offset: {x: 0, y: 0}
|
m_Offset: {x: 0, y: 0}
|
||||||
- Texture2D_8713F080:
|
- Texture2D_8713F080:
|
||||||
|
@ -159,7 +173,7 @@ Material:
|
||||||
- _AlphaCutoffEnable: 1
|
- _AlphaCutoffEnable: 1
|
||||||
- _AlphaDstBlend: 0
|
- _AlphaDstBlend: 0
|
||||||
- _AlphaSrcBlend: 1
|
- _AlphaSrcBlend: 1
|
||||||
- _AlphaToMask: 0
|
- _AlphaToMask: 1
|
||||||
- _AlphaToMaskInspectorValue: 0
|
- _AlphaToMaskInspectorValue: 0
|
||||||
- _BUILTIN_AlphaClip: 1
|
- _BUILTIN_AlphaClip: 1
|
||||||
- _BUILTIN_Blend: 0
|
- _BUILTIN_Blend: 0
|
||||||
|
@ -174,6 +188,7 @@ Material:
|
||||||
- _BUILTIN_ZWriteControl: 0
|
- _BUILTIN_ZWriteControl: 0
|
||||||
- _Blend: 0
|
- _Blend: 0
|
||||||
- _BlendMode: 0
|
- _BlendMode: 0
|
||||||
|
- _BlendModePreserveSpecular: 0
|
||||||
- _CastShadows: 1
|
- _CastShadows: 1
|
||||||
- _ConservativeDepthOffsetEnable: 0
|
- _ConservativeDepthOffsetEnable: 0
|
||||||
- _Cull: 0
|
- _Cull: 0
|
||||||
|
@ -188,6 +203,7 @@ Material:
|
||||||
- _DstBlend: 0
|
- _DstBlend: 0
|
||||||
- _EnableBlendModePreserveSpecularLighting: 1
|
- _EnableBlendModePreserveSpecularLighting: 1
|
||||||
- _EnableFogOnTransparent: 1
|
- _EnableFogOnTransparent: 1
|
||||||
|
- _ExcludeFromTUAndAA: 0
|
||||||
- _FadeBias: 1
|
- _FadeBias: 1
|
||||||
- _ForceForwardEmissive: 0
|
- _ForceForwardEmissive: 0
|
||||||
- _OpaqueCullMode: 2
|
- _OpaqueCullMode: 2
|
||||||
|
@ -232,7 +248,8 @@ Material:
|
||||||
- use_terrain_texture: 0
|
- use_terrain_texture: 0
|
||||||
m_Colors:
|
m_Colors:
|
||||||
- Color_1: {r: 1, g: 1, b: 1, a: 0}
|
- Color_1: {r: 1, g: 1, b: 1, a: 0}
|
||||||
- Color_5108e9ce42374b88877d5b6d32008f57: {r: 0.4245283, g: 0.3904859, b: 0.3224012, a: 1}
|
- Color_5108e9ce42374b88877d5b6d32008f57: {r: 0.4245283, g: 0.3904859, b: 0.3224012,
|
||||||
|
a: 1}
|
||||||
- Color_98d740f37ee94393862968e06dd248d6: {r: 1, g: 1, b: 1, a: 0}
|
- Color_98d740f37ee94393862968e06dd248d6: {r: 1, g: 1, b: 1, a: 0}
|
||||||
- Fade_Color: {r: 0, g: 0, b: 0, a: 0}
|
- Fade_Color: {r: 0, g: 0, b: 0, a: 0}
|
||||||
- SplatA: {r: 0, g: 0, b: 0, a: 1}
|
- SplatA: {r: 0, g: 0, b: 0, a: 1}
|
||||||
|
@ -245,8 +262,10 @@ Material:
|
||||||
- Terrain_Scale: {r: 100, g: 100, b: 0, a: 0}
|
- Terrain_Scale: {r: 100, g: 100, b: 0, a: 0}
|
||||||
- Vector2_1a286d49dc7b437fb4f1ea99b04e2664: {r: 0.05, g: 0.5, b: 0, a: 0}
|
- Vector2_1a286d49dc7b437fb4f1ea99b04e2664: {r: 0.05, g: 0.5, b: 0, a: 0}
|
||||||
- Vector2_98F9C2DA: {r: 0.2, g: 0.2, b: 0, a: 0}
|
- Vector2_98F9C2DA: {r: 0.2, g: 0.2, b: 0, a: 0}
|
||||||
- _DiffusionProfileAsset: {r: -0.00000002060262, g: 7.3194675e-27, b: 69972056, a: -3.7115523e+9}
|
- _DiffusionProfileAsset: {r: -0.00000002060262, g: 7.3194675e-27, b: 69972056,
|
||||||
- _Diffusion_Profile_Asset: {r: -0.00000002060262, g: 7.3194675e-27, b: 69972056, a: -3.7115523e+9}
|
a: -3.7115523e+9}
|
||||||
|
- _Diffusion_Profile_Asset: {r: -0.00000002060262, g: 7.3194675e-27, b: 69972056,
|
||||||
|
a: -3.7115523e+9}
|
||||||
- _DoubleSidedConstants: {r: 1, g: 1, b: -1, a: 0}
|
- _DoubleSidedConstants: {r: 1, g: 1, b: -1, a: 0}
|
||||||
- _EmissionColor: {r: 1, g: 1, b: 1, a: 1}
|
- _EmissionColor: {r: 1, g: 1, b: 1, a: 1}
|
||||||
- _SSSColor: {r: 0.95744157, g: 1, b: 0.5424528, a: 0}
|
- _SSSColor: {r: 0.95744157, g: 1, b: 0.5424528, a: 0}
|
||||||
|
|
|
@ -12,13 +12,14 @@ MonoBehaviour:
|
||||||
m_Script: {fileID: 11500000, guid: b2686e09ec7aef44bad2843e4416f057, type: 3}
|
m_Script: {fileID: 11500000, guid: b2686e09ec7aef44bad2843e4416f057, type: 3}
|
||||||
m_Name: FoliageDiffusionProfile
|
m_Name: FoliageDiffusionProfile
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
m_Version: 1
|
|
||||||
profile:
|
profile:
|
||||||
scatteringDistance: {r: 0.7568628, g: 0.7019608, b: 0.24313727, a: 1}
|
scatteringDistance: {r: 0.7490196, g: 0.69468653, b: 0.24061768, a: 1}
|
||||||
|
scatteringDistanceMultiplier: 1.0104713
|
||||||
transmissionTint: {r: 1, g: 1, b: 1, a: 1}
|
transmissionTint: {r: 1, g: 1, b: 1, a: 1}
|
||||||
texturingMode: 0
|
texturingMode: 0
|
||||||
transmissionMode: 1
|
transmissionMode: 1
|
||||||
thicknessRemap: {x: 0, y: 0.2873168}
|
thicknessRemap: {x: 0, y: 0.2873168}
|
||||||
worldScale: 1
|
worldScale: 1
|
||||||
ior: 1.4
|
ior: 1.4
|
||||||
hash: 1081692787
|
hash: 1074823563
|
||||||
|
m_Version: 2
|
||||||
|
|
|
@ -3,7 +3,8 @@
|
||||||
--- !u!78 &1
|
--- !u!78 &1
|
||||||
TagManager:
|
TagManager:
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
tags: []
|
tags:
|
||||||
|
- CinemachineTarget
|
||||||
layers:
|
layers:
|
||||||
- Default
|
- Default
|
||||||
- TransparentFX
|
- TransparentFX
|
||||||
|
@ -11,7 +12,7 @@ TagManager:
|
||||||
-
|
-
|
||||||
- Water
|
- Water
|
||||||
- UI
|
- UI
|
||||||
-
|
- Player
|
||||||
-
|
-
|
||||||
-
|
-
|
||||||
-
|
-
|
||||||
|
|
Reference in a new issue