RayCast Entfernt und schießen verbessert

This commit is contained in:
pbg2h23akl
2024-07-03 13:56:17 +02:00
parent 8b60b36e35
commit 89cfac816b
7 changed files with 62 additions and 219 deletions

View File

@@ -1,37 +1,5 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &3929927056536112425
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 2326864918050230340}
m_Layer: 0
m_Name: BulletSpawnpoint
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &2326864918050230340
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3929927056536112425}
serializedVersion: 2
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0.5, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 686265786403669914}
m_Father: {fileID: 6798321073873421098}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &6867957792503530889
GameObject:
m_ObjectHideFlags: 0
@@ -222,7 +190,7 @@ Transform:
m_Children:
- {fileID: 7042537997030239891}
- {fileID: 1313371464610265781}
- {fileID: 2326864918050230340}
- {fileID: 686265786403669914}
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 30.44, z: 0}
--- !u!114 &1169450665700565
@@ -238,7 +206,7 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
muzzle: {fileID: 0}
spawnpoint: {fileID: 3929927056536112425}
spawnpoint: {fileID: 0}
bullet: {fileID: 939049122039926632, guid: 5bd04146a95212e41bc2c52b7079e131, type: 3}
dataBullet: {fileID: 11400000, guid: cafd241bae342f446ae8141cc5d72daf, type: 2}
reloadTime: 3
@@ -248,19 +216,11 @@ PrefabInstance:
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 2326864918050230340}
m_TransformParent: {fileID: 6798321073873421098}
m_Modifications:
- target: {fileID: 430484790216468074, guid: 0d96e9e78ab544a4a98b8af026c4d9de, type: 3}
propertyPath: stopAction
value: 1
objectReference: {fileID: 0}
- target: {fileID: 430484790216468074, guid: 0d96e9e78ab544a4a98b8af026c4d9de, type: 3}
propertyPath: LightsModule.light
value:
objectReference: {fileID: 3050412642343233004, guid: ecc11f2cd73840b43ac860dbd8067281, type: 3}
- target: {fileID: 6557869798269101976, guid: 0d96e9e78ab544a4a98b8af026c4d9de, type: 3}
propertyPath: m_LocalPosition.x
value: 0
value: 0.50000054
objectReference: {fileID: 0}
- target: {fileID: 6557869798269101976, guid: 0d96e9e78ab544a4a98b8af026c4d9de, type: 3}
propertyPath: m_LocalPosition.y
@@ -268,7 +228,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 6557869798269101976, guid: 0d96e9e78ab544a4a98b8af026c4d9de, type: 3}
propertyPath: m_LocalPosition.z
value: 0
value: -0
objectReference: {fileID: 0}
- target: {fileID: 6557869798269101976, guid: 0d96e9e78ab544a4a98b8af026c4d9de, type: 3}
propertyPath: m_LocalRotation.w
@@ -276,15 +236,15 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 6557869798269101976, guid: 0d96e9e78ab544a4a98b8af026c4d9de, type: 3}
propertyPath: m_LocalRotation.x
value: -0
value: 0.0000000037252894
objectReference: {fileID: 0}
- target: {fileID: 6557869798269101976, guid: 0d96e9e78ab544a4a98b8af026c4d9de, type: 3}
propertyPath: m_LocalRotation.y
value: 0.7071067
value: 0.70710677
objectReference: {fileID: 0}
- target: {fileID: 6557869798269101976, guid: 0d96e9e78ab544a4a98b8af026c4d9de, type: 3}
propertyPath: m_LocalRotation.z
value: -0
value: -0.0000000030267977
objectReference: {fileID: 0}
- target: {fileID: 6557869798269101976, guid: 0d96e9e78ab544a4a98b8af026c4d9de, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
@@ -302,10 +262,6 @@ PrefabInstance:
propertyPath: m_Name
value: MuzzleParticalSystem
objectReference: {fileID: 0}
- target: {fileID: 8077938284314862731, guid: 0d96e9e78ab544a4a98b8af026c4d9de, type: 3}
propertyPath: m_IsActive
value: 1
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []