任务:简单布置“序章-战场”的流程化

1.调整人物大小
2.限制了摄像机的移动范围
3.布置了三个电话线
4.布置了轰炸区
This commit is contained in:
Roman 2021-07-26 17:14:46 +08:00
parent bdc75a3c56
commit 1b76877d76
9 changed files with 1090 additions and 174 deletions

View File

@ -3,10 +3,11 @@
--- !u!91 &9100000
AnimatorController:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: GreenAlien
serializedVersion: 2
serializedVersion: 5
m_AnimatorParameters:
- m_Name: AmIJumping
m_Type: 4
@ -15,109 +16,144 @@ AnimatorController:
m_DefaultBool: 0
m_Controller: {fileID: 9100000}
m_AnimatorLayers:
- serializedVersion: 3
- serializedVersion: 5
m_Name: Base Layer
m_StateMachine: {fileID: 110700000}
m_Mask: {fileID: 0}
m_Motions: []
m_Behaviours: []
m_BlendingMode: 0
m_SyncedLayerIndex: -1
m_StateMachineMotionSetIndex: 0
m_DefaultWeight: 0
m_IKPass: 0
m_SyncedLayerAffectsTiming: 0
m_Controller: {fileID: 9100000}
--- !u!1101 &110100000
Transition:
serializedVersion: 2
m_ObjectHideFlags: 3
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
AnimatorStateTransition:
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name:
m_SrcState: {fileID: 110249473}
m_DstState: {fileID: 110200000}
m_TransitionDuration: .819999993
m_TransitionOffset: 0
m_Conditions:
- m_ConditionMode: 1
m_ConditionEvent: AmIJumping
m_EventTreshold: 0
m_ExitTime: .899999976
m_Atomic: 0
m_DstStateMachine: {fileID: 0}
m_DstState: {fileID: 110200000}
m_Solo: 0
m_Mute: 0
m_IsExit: 0
serializedVersion: 3
m_TransitionDuration: 0.82
m_TransitionOffset: 0
m_ExitTime: 0.9
m_HasExitTime: 0
m_HasFixedDuration: 0
m_InterruptionSource: 1
m_OrderedInterruption: 1
m_CanTransitionToSelf: 0
--- !u!1101 &110188867
Transition:
serializedVersion: 2
m_ObjectHideFlags: 3
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
AnimatorStateTransition:
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name:
m_SrcState: {fileID: 110200000}
m_DstState: {fileID: 110249473}
m_TransitionDuration: 1.92999995
m_TransitionOffset: 0
m_Conditions:
- m_ConditionMode: 2
m_ConditionEvent: AmIJumping
m_EventTreshold: 0
m_ExitTime: .782608688
m_Atomic: 0
m_DstStateMachine: {fileID: 0}
m_DstState: {fileID: 110249473}
m_Solo: 0
m_Mute: 0
m_IsExit: 0
serializedVersion: 3
m_TransitionDuration: 1.93
m_TransitionOffset: 0
m_ExitTime: 0.9
m_HasExitTime: 0
m_HasFixedDuration: 0
m_InterruptionSource: 1
m_OrderedInterruption: 1
m_CanTransitionToSelf: 0
--- !u!1102 &110200000
State:
m_ObjectHideFlags: 3
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
AnimatorState:
serializedVersion: 6
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: JumpingAlien
m_Speed: 1
m_CycleOffset: 0
m_Motions:
- {fileID: 7400000, guid: 17211c9c495eb420d9d368946530f2a4, type: 2}
m_ParentStateMachine: {fileID: 110700000}
m_Transitions:
- {fileID: 110188867}
m_StateMachineBehaviours: []
m_Position: {x: 312, y: 12, z: 0}
m_IKOnFeet: 0
m_WriteDefaultValues: 1
m_Mirror: 0
m_SpeedParameterActive: 0
m_MirrorParameterActive: 0
m_CycleOffsetParameterActive: 0
m_TimeParameterActive: 0
m_Motion: {fileID: 7400000, guid: 17211c9c495eb420d9d368946530f2a4, type: 2}
m_Tag:
m_SpeedParameter:
m_MirrorParameter:
m_CycleOffsetParameter:
m_TimeParameter:
--- !u!1102 &110249473
State:
m_ObjectHideFlags: 3
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
AnimatorState:
serializedVersion: 6
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: New State
m_Speed: 1
m_CycleOffset: 0
m_Motions:
- {fileID: 0}
m_ParentStateMachine: {fileID: 110700000}
m_Transitions:
- {fileID: 110100000}
m_StateMachineBehaviours: []
m_Position: {x: 0, y: -60, z: 0}
m_IKOnFeet: 0
m_WriteDefaultValues: 1
m_Mirror: 0
m_SpeedParameterActive: 0
m_MirrorParameterActive: 0
m_CycleOffsetParameterActive: 0
m_TimeParameterActive: 0
m_Motion: {fileID: 0}
m_Tag:
m_SpeedParameter:
m_MirrorParameter:
m_CycleOffsetParameter:
m_TimeParameter:
--- !u!1107 &110700000
StateMachine:
serializedVersion: 2
m_ObjectHideFlags: 3
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
AnimatorStateMachine:
serializedVersion: 6
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Base Layer
m_DefaultState: {fileID: 110249473}
m_States:
- {fileID: 110200000}
- {fileID: 110249473}
m_ChildStateMachine: []
m_ChildStateMachinePosition: []
m_OrderedTransitions:
data:
first: {fileID: 110249473}
second:
- {fileID: 110100000}
data:
first: {fileID: 110200000}
second:
- {fileID: 110188867}
m_MotionSetCount: 1
m_ChildStates:
- serializedVersion: 1
m_State: {fileID: 110200000}
m_Position: {x: 312, y: 12, z: 0}
- serializedVersion: 1
m_State: {fileID: 110249473}
m_Position: {x: 0, y: -60, z: 0}
m_ChildStateMachines: []
m_AnyStateTransitions: []
m_EntryTransitions: []
m_StateMachineTransitions: {}
m_StateMachineBehaviours: []
m_AnyStatePosition: {x: 48, y: 24, z: 0}
m_EntryPosition: {x: 50, y: 120, z: 0}
m_ExitPosition: {x: 800, y: 120, z: 0}
m_ParentStateMachinePosition: {x: 800, y: 20, z: 0}
m_DefaultState: {fileID: 110249473}

View File

@ -42,8 +42,8 @@ Material:
- WaveCount: 50
- WaveIntensity_1: 0.02
- WaveIntensity_2: 1
- WaveSpread_Value: 0
- WaveSpread_Value: 11.199994
m_Colors:
- Center: {r: 0.09301913, g: 0.27770394, b: 0, a: 0}
- Center: {r: 0.4856287, g: 0.3092804, b: 0, a: 0}
- Vector2_d2d098295fc146f08b921b231b2e5199: {r: 1.6, g: 0.9, b: 0, a: 0}
m_BuildTextureStacks: []

View File

@ -27,7 +27,7 @@ Transform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6293088924721911990}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -12.07, y: 0.3648218, z: 0}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}
@ -72,7 +72,7 @@ SpriteRenderer:
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_SortingOrder: 2
m_Sprite: {fileID: 7482667652216324306, guid: 48e93eef0688c4a259cb0eddcd8661f7, type: 3}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_FlipX: 0

View File

@ -70,7 +70,7 @@ SpriteRenderer:
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_SortingOrder: 2
m_Sprite: {fileID: -2413806693520163455, guid: ebe73ca9363db456bacf42c025bb4847, type: 3}
m_Color: {r: 0, g: 0, b: 0, a: 0.5882353}
m_FlipX: 0

View File

@ -123,6 +123,68 @@ NavMeshSettings:
debug:
m_Flags: 0
m_NavMeshData: {fileID: 0}
--- !u!1001 &490062777
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 703923301}
m_Modifications:
- target: {fileID: -5731401102379117568, guid: e8a77a03bb862394e97b860c6020d4c8, type: 3}
propertyPath: m_RootOrder
value: 0
objectReference: {fileID: 0}
- target: {fileID: -5731401102379117568, guid: e8a77a03bb862394e97b860c6020d4c8, type: 3}
propertyPath: m_LocalPosition.x
value: -0.1747961
objectReference: {fileID: 0}
- target: {fileID: -5731401102379117568, guid: e8a77a03bb862394e97b860c6020d4c8, type: 3}
propertyPath: m_LocalPosition.y
value: -4.8024907
objectReference: {fileID: 0}
- target: {fileID: -5731401102379117568, guid: e8a77a03bb862394e97b860c6020d4c8, type: 3}
propertyPath: m_LocalPosition.z
value: 3.2978365
objectReference: {fileID: 0}
- target: {fileID: -5731401102379117568, guid: e8a77a03bb862394e97b860c6020d4c8, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: -5731401102379117568, guid: e8a77a03bb862394e97b860c6020d4c8, type: 3}
propertyPath: m_LocalRotation.x
value: -0
objectReference: {fileID: 0}
- target: {fileID: -5731401102379117568, guid: e8a77a03bb862394e97b860c6020d4c8, type: 3}
propertyPath: m_LocalRotation.y
value: -0
objectReference: {fileID: 0}
- target: {fileID: -5731401102379117568, guid: e8a77a03bb862394e97b860c6020d4c8, type: 3}
propertyPath: m_LocalRotation.z
value: -0
objectReference: {fileID: 0}
- target: {fileID: -5731401102379117568, guid: e8a77a03bb862394e97b860c6020d4c8, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: -5731401102379117568, guid: e8a77a03bb862394e97b860c6020d4c8, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: -5731401102379117568, guid: e8a77a03bb862394e97b860c6020d4c8, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4545971525194460214, guid: e8a77a03bb862394e97b860c6020d4c8, type: 3}
propertyPath: m_Name
value: "\u4E3B\u89D2"
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: -663710891385756399, guid: e8a77a03bb862394e97b860c6020d4c8, type: 3}
--- !u!4 &490062778 stripped
Transform:
m_CorrespondingSourceObject: {fileID: -5731401102379117568, guid: e8a77a03bb862394e97b860c6020d4c8, type: 3}
m_PrefabInstance: {fileID: 490062777}
m_PrefabAsset: {fileID: 0}
--- !u!1 &519420028
GameObject:
m_ObjectHideFlags: 0
@ -206,6 +268,57 @@ Transform:
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &703923299
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 703923301}
- component: {fileID: 703923300}
m_Layer: 0
m_Name: "\u4EBA\u7269"
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!95 &703923300
Animator:
serializedVersion: 3
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 703923299}
m_Enabled: 1
m_Avatar: {fileID: 0}
m_Controller: {fileID: 9100000, guid: e6c8911b364c01240bf3b362b783f883, type: 2}
m_CullingMode: 0
m_UpdateMode: 0
m_ApplyRootMotion: 0
m_LinearVelocityBlending: 0
m_WarningMessage:
m_HasTransformHierarchy: 1
m_AllowConstantClipSamplingOptimization: 1
m_KeepAnimatorControllerStateOnDisable: 0
--- !u!4 &703923301
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 703923299}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 8.914796, y: 0.9224905, z: -3.2978365}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 490062778}
m_Father: {fileID: 0}
m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1001 &1167304730
PrefabInstance:
m_ObjectHideFlags: 0
@ -229,6 +342,18 @@ PrefabInstance:
propertyPath: m_LocalPosition.y
value: -0.6567551
objectReference: {fileID: 0}
- target: {fileID: 2963418977626722768, guid: 52c78dac9f3bb9a449367f6062fb1433, type: 3}
propertyPath: m_LocalPosition.x
value: 2.5576658
objectReference: {fileID: 0}
- target: {fileID: 2963418977626722768, guid: 52c78dac9f3bb9a449367f6062fb1433, type: 3}
propertyPath: m_LocalPosition.y
value: 0.000000064268825
objectReference: {fileID: 0}
- target: {fileID: 2963418977626722768, guid: 52c78dac9f3bb9a449367f6062fb1433, type: 3}
propertyPath: m_LocalRotation.w
value: 0.99999225
objectReference: {fileID: 0}
- target: {fileID: 2963418977626722768, guid: 52c78dac9f3bb9a449367f6062fb1433, type: 3}
propertyPath: m_LocalRotation.x
value: 0
@ -241,21 +366,13 @@ PrefabInstance:
propertyPath: m_LocalRotation.z
value: -0.0039366493
objectReference: {fileID: 0}
- target: {fileID: 2963418977626722768, guid: 52c78dac9f3bb9a449367f6062fb1433, type: 3}
propertyPath: m_LocalRotation.w
value: 0.99999225
objectReference: {fileID: 0}
- target: {fileID: 2963418977626722768, guid: 52c78dac9f3bb9a449367f6062fb1433, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2963418977626722768, guid: 52c78dac9f3bb9a449367f6062fb1433, type: 3}
propertyPath: m_LocalPosition.x
value: 2.5576658
objectReference: {fileID: 0}
- target: {fileID: 2963418977626722768, guid: 52c78dac9f3bb9a449367f6062fb1433, type: 3}
propertyPath: m_LocalPosition.y
value: 0.000000064268825
- target: {fileID: 5380615811545232268, guid: 52c78dac9f3bb9a449367f6062fb1433, type: 3}
propertyPath: m_LocalRotation.w
value: 0.86689305
objectReference: {fileID: 0}
- target: {fileID: 5380615811545232268, guid: 52c78dac9f3bb9a449367f6062fb1433, type: 3}
propertyPath: m_LocalRotation.x
@ -269,10 +386,6 @@ PrefabInstance:
propertyPath: m_LocalRotation.z
value: 0.49849415
objectReference: {fileID: 0}
- target: {fileID: 5380615811545232268, guid: 52c78dac9f3bb9a449367f6062fb1433, type: 3}
propertyPath: m_LocalRotation.w
value: 0.86689305
objectReference: {fileID: 0}
- target: {fileID: 5380615811545232268, guid: 52c78dac9f3bb9a449367f6062fb1433, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
@ -281,6 +394,18 @@ PrefabInstance:
propertyPath: m_Name
value: "\u4ED6\u7238"
objectReference: {fileID: 0}
- target: {fileID: 5712957261676253381, guid: 52c78dac9f3bb9a449367f6062fb1433, type: 3}
propertyPath: m_LocalPosition.x
value: 1.932262
objectReference: {fileID: 0}
- target: {fileID: 5712957261676253381, guid: 52c78dac9f3bb9a449367f6062fb1433, type: 3}
propertyPath: m_LocalPosition.y
value: -0.00000011835591
objectReference: {fileID: 0}
- target: {fileID: 5712957261676253381, guid: 52c78dac9f3bb9a449367f6062fb1433, type: 3}
propertyPath: m_LocalRotation.w
value: 0.97989863
objectReference: {fileID: 0}
- target: {fileID: 5712957261676253381, guid: 52c78dac9f3bb9a449367f6062fb1433, type: 3}
propertyPath: m_LocalRotation.x
value: 0
@ -293,21 +418,13 @@ PrefabInstance:
propertyPath: m_LocalRotation.z
value: -0.19949615
objectReference: {fileID: 0}
- target: {fileID: 5712957261676253381, guid: 52c78dac9f3bb9a449367f6062fb1433, type: 3}
propertyPath: m_LocalRotation.w
value: 0.97989863
objectReference: {fileID: 0}
- target: {fileID: 5712957261676253381, guid: 52c78dac9f3bb9a449367f6062fb1433, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5712957261676253381, guid: 52c78dac9f3bb9a449367f6062fb1433, type: 3}
propertyPath: m_LocalPosition.x
value: 1.932262
objectReference: {fileID: 0}
- target: {fileID: 5712957261676253381, guid: 52c78dac9f3bb9a449367f6062fb1433, type: 3}
propertyPath: m_LocalPosition.y
value: -0.00000011835591
- target: {fileID: 5834292675243222042, guid: 52c78dac9f3bb9a449367f6062fb1433, type: 3}
propertyPath: m_RootOrder
value: 1
objectReference: {fileID: 0}
- target: {fileID: 5834292675243222042, guid: 52c78dac9f3bb9a449367f6062fb1433, type: 3}
propertyPath: m_LocalPosition.x
@ -321,6 +438,10 @@ PrefabInstance:
propertyPath: m_LocalPosition.z
value: 6.3364797
objectReference: {fileID: 0}
- target: {fileID: 5834292675243222042, guid: 52c78dac9f3bb9a449367f6062fb1433, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 5834292675243222042, guid: 52c78dac9f3bb9a449367f6062fb1433, type: 3}
propertyPath: m_LocalRotation.x
value: -0
@ -333,14 +454,6 @@ PrefabInstance:
propertyPath: m_LocalRotation.z
value: -0
objectReference: {fileID: 0}
- target: {fileID: 5834292675243222042, guid: 52c78dac9f3bb9a449367f6062fb1433, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 5834292675243222042, guid: 52c78dac9f3bb9a449367f6062fb1433, type: 3}
propertyPath: m_RootOrder
value: 1
objectReference: {fileID: 0}
- target: {fileID: 5834292675243222042, guid: 52c78dac9f3bb9a449367f6062fb1433, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
@ -353,6 +466,10 @@ PrefabInstance:
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6386618607660783136, guid: 52c78dac9f3bb9a449367f6062fb1433, type: 3}
propertyPath: m_LocalRotation.w
value: 0.05014148
objectReference: {fileID: 0}
- target: {fileID: 6386618607660783136, guid: 52c78dac9f3bb9a449367f6062fb1433, type: 3}
propertyPath: m_LocalRotation.x
value: 0
@ -361,10 +478,6 @@ PrefabInstance:
propertyPath: m_LocalRotation.z
value: -0.99874216
objectReference: {fileID: 0}
- target: {fileID: 6386618607660783136, guid: 52c78dac9f3bb9a449367f6062fb1433, type: 3}
propertyPath: m_LocalRotation.w
value: 0.05014148
objectReference: {fileID: 0}
- target: {fileID: 6386618607660783136, guid: 52c78dac9f3bb9a449367f6062fb1433, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
@ -377,6 +490,22 @@ PrefabInstance:
propertyPath: m_LocalPosition.y
value: 0.9583135
objectReference: {fileID: 0}
- target: {fileID: 7302741182621479858, guid: 52c78dac9f3bb9a449367f6062fb1433, type: 3}
propertyPath: m_LocalPosition.x
value: 1.8194977
objectReference: {fileID: 0}
- target: {fileID: 7302741182621479858, guid: 52c78dac9f3bb9a449367f6062fb1433, type: 3}
propertyPath: m_LocalPosition.y
value: 0.00000012366127
objectReference: {fileID: 0}
- target: {fileID: 7302741182621479858, guid: 52c78dac9f3bb9a449367f6062fb1433, type: 3}
propertyPath: m_LocalRotation.w
value: 0.7365725
objectReference: {fileID: 0}
- target: {fileID: 7302741182621479858, guid: 52c78dac9f3bb9a449367f6062fb1433, type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7302741182621479858, guid: 52c78dac9f3bb9a449367f6062fb1433, type: 3}
propertyPath: m_LocalRotation.y
value: 0
@ -385,25 +514,21 @@ PrefabInstance:
propertyPath: m_LocalRotation.z
value: 0.67635864
objectReference: {fileID: 0}
- target: {fileID: 7302741182621479858, guid: 52c78dac9f3bb9a449367f6062fb1433, type: 3}
propertyPath: m_LocalRotation.w
value: 0.7365725
objectReference: {fileID: 0}
- target: {fileID: 7302741182621479858, guid: 52c78dac9f3bb9a449367f6062fb1433, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7302741182621479858, guid: 52c78dac9f3bb9a449367f6062fb1433, type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7302741182621479858, guid: 52c78dac9f3bb9a449367f6062fb1433, type: 3}
- target: {fileID: 8224345494664629997, guid: 52c78dac9f3bb9a449367f6062fb1433, type: 3}
propertyPath: m_LocalPosition.x
value: 1.8194977
value: 2.2873657
objectReference: {fileID: 0}
- target: {fileID: 7302741182621479858, guid: 52c78dac9f3bb9a449367f6062fb1433, type: 3}
- target: {fileID: 8224345494664629997, guid: 52c78dac9f3bb9a449367f6062fb1433, type: 3}
propertyPath: m_LocalPosition.y
value: 0.00000012366127
value: 0.0000019362749
objectReference: {fileID: 0}
- target: {fileID: 8224345494664629997, guid: 52c78dac9f3bb9a449367f6062fb1433, type: 3}
propertyPath: m_LocalRotation.w
value: 0.970033
objectReference: {fileID: 0}
- target: {fileID: 8224345494664629997, guid: 52c78dac9f3bb9a449367f6062fb1433, type: 3}
propertyPath: m_LocalRotation.x
@ -417,22 +542,10 @@ PrefabInstance:
propertyPath: m_LocalRotation.z
value: -0.24297324
objectReference: {fileID: 0}
- target: {fileID: 8224345494664629997, guid: 52c78dac9f3bb9a449367f6062fb1433, type: 3}
propertyPath: m_LocalRotation.w
value: 0.970033
objectReference: {fileID: 0}
- target: {fileID: 8224345494664629997, guid: 52c78dac9f3bb9a449367f6062fb1433, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8224345494664629997, guid: 52c78dac9f3bb9a449367f6062fb1433, type: 3}
propertyPath: m_LocalPosition.x
value: 2.2873657
objectReference: {fileID: 0}
- target: {fileID: 8224345494664629997, guid: 52c78dac9f3bb9a449367f6062fb1433, type: 3}
propertyPath: m_LocalPosition.y
value: 0.0000019362749
objectReference: {fileID: 0}
- target: {fileID: 8771163755905657798, guid: 52c78dac9f3bb9a449367f6062fb1433, type: 3}
propertyPath: m_LocalPosition.x
value: 1.5502996

View File

@ -5009,7 +5009,7 @@ MonoBehaviour:
shellSpeed: 10
shellFallingTime: 1
shellShadowRangeOfChange: 0.1
shellShadowPositionYOffSet: 1.5
shellShadowPositionYOffSet: 0.3
rateOfChangeOfThrowingAngle: 1
strengthOfThrowing: 8
--- !u!4 &2039349954

File diff suppressed because it is too large Load Diff

View File

@ -7,6 +7,8 @@ public class BombingArea : MonoBehaviour
// Start is called before the first frame update
private bool bombing = false;//是否正在轰炸
public GameObject shell;//炮弹游戏物体
// [Tooltip("炮弹阴影Y轴的偏移量")]
// public float shellShadowYOffset;//炮弹阴影Y轴的偏移量因为复杂原因必须使用此变量调整阴影的Y位置
private float minimumTimeInterval;
private float maximumTimeInterval;//生成炮弹的最小和最大时间间隔
@ -45,7 +47,7 @@ public class BombingArea : MonoBehaviour
{
Instantiate(shell,//生成炮弹
player.transform.position + //以玩家位置
new Vector3(Random.Range(-maxOffSetOfShell,maximumTimeInterval),//加上水平方向的偏移量
new Vector3(Random.Range(-maxOffSetOfShell,maxOffSetOfShell),//加上水平方向的偏移量
shellHeight,0),//竖直方向给高度
Quaternion.identity);
leftTime = Random.Range(minimumTimeInterval,maximumTimeInterval);

View File

@ -15,20 +15,20 @@ EditorUserSettings:
value: 22424703114646680e0b0227036cdacaf990d3ea61adddcea8f6fb73663ffabe163e78fce9332b25
flags: 0
RecentlyUsedScenePath-3:
value: 22424703114646680e0b0227036cdae0f290dfc7abfbfdb7f6d69be60968fbcd663fd8601ed2bad4ce4cfa320d2a18
flags: 0
RecentlyUsedScenePath-4:
value: 22424703114646680e0b0227036cdacaf990d3ea61aecec8a8d5c77df7ee3d2cfb
flags: 0
RecentlyUsedScenePath-5:
value: 22424703114646680e0b0227036cdacaf990d3ea61ade8e6a9f1d07df7ee3d2cfb
flags: 0
RecentlyUsedScenePath-6:
value: 22424703114646680e0b0227036c6c111b07142f1f2b233e2867083debf42d
flags: 0
RecentlyUsedScenePath-7:
RecentlyUsedScenePath-4:
value: 22424703114646680e0b0227036cdafade90ecf1aafdcdb8e2dc99eb0c69f6dc6a20dea7f234362820
flags: 0
RecentlyUsedScenePath-5:
value: 22424703114646680e0b0227036cdae0f290dfc7abfbfdb7f6d69be60968fbcd663fd8601ed2bad4ce4cfa320d2a18
flags: 0
RecentlyUsedScenePath-6:
value: 22424703114646680e0b0227036cdacaf990d3ea61aecec8a8d5c77df7ee3d2cfb
flags: 0
RecentlyUsedScenePath-7:
value: 22424703114646680e0b0227036cdacaf990d3ea61ade8e6a9f1d07df7ee3d2cfb
flags: 0
UnityEditor.ShaderGraph.Blackboard:
value: 18135939215a0a5004000b0e15254b524c030a3f2964643d120d1230e9e93a3fd6e826abbd2e2d293c4ead313b08042de6030a0afa240c0d020be94c4ba85e435d8715fa32c70d15d11612dacc11fee5d3c5d1fe9ab1b0968e93e2ffcbc3e7e2f0b3ffe0e8b0be9af8ffaeffff8e85dd8390e3949c8899daa7
flags: 0