Skip to content
Extraits de code Groupes Projets
Valider 1745ff15 rédigé par Altarick's avatar Altarick
Parcourir les fichiers

fixed animal spawner

parent 0bec79db
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!65 &1438761813
BoxCollider:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7417614742576337882}
m_Material: {fileID: 0}
m_IsTrigger: 0
m_Enabled: 1
serializedVersion: 2
m_Size: {x: 0.024635516, y: 0.03370318, z: 0.033169694}
m_Center: {x: -0.000000006519258, y: 0.016069984, z: -0.0036805188}
--- !u!195 &1438761811
NavMeshAgent:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7417614742576337882}
m_Enabled: 1
m_AgentTypeID: 0
m_Radius: 0.02
m_Speed: 0.7
m_Acceleration: 8
avoidancePriority: 50
m_AngularSpeed: 500
m_StoppingDistance: 0
m_AutoTraverseOffMeshLink: 1
m_AutoBraking: 1
m_AutoRepath: 1
m_Height: 0.03
m_BaseOffset: 0
m_WalkableMask: 4294967295
m_ObstacleAvoidanceType: 4
--- !u!114 &1438761812
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7417614742576337882}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 81148b8144718ee4899ecbbce4f98d9f, type: 3}
m_Name:
m_EditorClassIdentifier:
m_spawnPoint: {fileID: 0}
m_squareRadius: 1.5
m_sqrAttackDistance: 2
m_attackDamage: 10
m_attackWaitTime: 1.5
m_fullnessTime: 8
--- !u!1001 &1572112892058782419
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: -927199367670048503, guid: 65bffeca4df9ec1479d5f6f7675e049d,
type: 3}
propertyPath: m_Name
value: animal
objectReference: {fileID: 0}
- target: {fileID: -6057140222963153312, guid: 65bffeca4df9ec1479d5f6f7675e049d,
type: 3}
propertyPath: m_Controller
value:
objectReference: {fileID: 9100000, guid: 922b5c0531a0acc479e9a28002696ff6, type: 2}
- target: {fileID: -4216859302048453862, guid: 65bffeca4df9ec1479d5f6f7675e049d,
type: 3}
propertyPath: m_LocalPosition.x
value: 0.0034
objectReference: {fileID: 0}
- target: {fileID: -4216859302048453862, guid: 65bffeca4df9ec1479d5f6f7675e049d,
type: 3}
propertyPath: m_LocalPosition.y
value: -0.010400002
objectReference: {fileID: 0}
- target: {fileID: -4216859302048453862, guid: 65bffeca4df9ec1479d5f6f7675e049d,
type: 3}
propertyPath: m_LocalPosition.z
value: -0.0171
objectReference: {fileID: 0}
- target: {fileID: -4216859302048453862, guid: 65bffeca4df9ec1479d5f6f7675e049d,
type: 3}
propertyPath: m_LocalRotation.x
value: -0
objectReference: {fileID: 0}
- target: {fileID: -4216859302048453862, guid: 65bffeca4df9ec1479d5f6f7675e049d,
type: 3}
propertyPath: m_LocalRotation.y
value: -0
objectReference: {fileID: 0}
- target: {fileID: -4216859302048453862, guid: 65bffeca4df9ec1479d5f6f7675e049d,
type: 3}
propertyPath: m_LocalRotation.z
value: -0
objectReference: {fileID: 0}
- target: {fileID: -4216859302048453862, guid: 65bffeca4df9ec1479d5f6f7675e049d,
type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: -4216859302048453862, guid: 65bffeca4df9ec1479d5f6f7675e049d,
type: 3}
propertyPath: m_RootOrder
value: 0
objectReference: {fileID: 0}
- target: {fileID: -4216859302048453862, guid: 65bffeca4df9ec1479d5f6f7675e049d,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: -4216859302048453862, guid: 65bffeca4df9ec1479d5f6f7675e049d,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: -4216859302048453862, guid: 65bffeca4df9ec1479d5f6f7675e049d,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: -4216859302048453862, guid: 65bffeca4df9ec1479d5f6f7675e049d,
type: 3}
propertyPath: m_LocalScale.x
value: 0.26666668
objectReference: {fileID: 0}
- target: {fileID: -4216859302048453862, guid: 65bffeca4df9ec1479d5f6f7675e049d,
type: 3}
propertyPath: m_LocalScale.y
value: 0.26666668
objectReference: {fileID: 0}
- target: {fileID: -4216859302048453862, guid: 65bffeca4df9ec1479d5f6f7675e049d,
type: 3}
propertyPath: m_LocalScale.z
value: -0.2666667
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 65bffeca4df9ec1479d5f6f7675e049d, type: 3}
--- !u!1 &7417614742576337882 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: -927199367670048503, guid: 65bffeca4df9ec1479d5f6f7675e049d,
type: 3}
m_PrefabInstance: {fileID: 1572112892058782419}
m_PrefabAsset: {fileID: 0}
fileFormatVersion: 2
guid: f8492c61cc353c549a38ee6a49ad7991
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
...@@ -30,59 +30,22 @@ Transform: ...@@ -30,59 +30,22 @@ Transform:
m_Father: {fileID: 433492765613927625} m_Father: {fileID: 433492765613927625}
m_RootOrder: 0 m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!65 &1438761813 --- !u!208 &8237954710174201318
BoxCollider: NavMeshObstacle:
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_GameObject: {fileID: 3485586580736821615} m_GameObject: {fileID: 3485586581573099226}
m_Material: {fileID: 0}
m_IsTrigger: 0
m_Enabled: 1 m_Enabled: 1
serializedVersion: 2 serializedVersion: 3
m_Size: {x: 0.024635516, y: 0.03370318, z: 0.033169694} m_Shape: 1
m_Center: {x: -0.000000006519258, y: 0.016069984, z: -0.0036805188} m_Extents: {x: 0.020000001, y: 0.015000001, z: 0.020000001}
--- !u!195 &1438761811 m_MoveThreshold: 0.1
NavMeshAgent: m_Carve: 1
m_ObjectHideFlags: 0 m_CarveOnlyStationary: 1
m_CorrespondingSourceObject: {fileID: 0} m_Center: {x: 0.002, y: 0.003, z: 0.007}
m_PrefabInstance: {fileID: 0} m_TimeToStationary: 0.5
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3485586580736821615}
m_Enabled: 1
m_AgentTypeID: 0
m_Radius: 0.02
m_Speed: 0.7
m_Acceleration: 8
avoidancePriority: 50
m_AngularSpeed: 500
m_StoppingDistance: 0
m_AutoTraverseOffMeshLink: 1
m_AutoBraking: 1
m_AutoRepath: 1
m_Height: 0.03
m_BaseOffset: 0
m_WalkableMask: 4294967295
m_ObstacleAvoidanceType: 4
--- !u!114 &1438761812
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3485586580736821615}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 81148b8144718ee4899ecbbce4f98d9f, type: 3}
m_Name:
m_EditorClassIdentifier:
m_spawnPoint: {fileID: 1795219250}
m_squareRadius: 1.5
m_sqrAttackDistance: 2
m_attackDamage: 10
m_attackWaitTime: 1.5
m_fullnessTime: 8
--- !u!1001 &4863508889398085587 --- !u!1001 &4863508889398085587
PrefabInstance: PrefabInstance:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
...@@ -93,7 +56,7 @@ PrefabInstance: ...@@ -93,7 +56,7 @@ PrefabInstance:
- target: {fileID: -927199367670048503, guid: 985ea245f3670f64c9dc3d0ca6215866, - target: {fileID: -927199367670048503, guid: 985ea245f3670f64c9dc3d0ca6215866,
type: 3} type: 3}
propertyPath: m_Name propertyPath: m_Name
value: animalSpawner value: animalSpawner Variant
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -927199367670048503, guid: 985ea245f3670f64c9dc3d0ca6215866, - target: {fileID: -927199367670048503, guid: 985ea245f3670f64c9dc3d0ca6215866,
type: 3} type: 3}
...@@ -172,104 +135,88 @@ PrefabInstance: ...@@ -172,104 +135,88 @@ PrefabInstance:
objectReference: {fileID: 0} objectReference: {fileID: 0}
m_RemovedComponents: [] m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 985ea245f3670f64c9dc3d0ca6215866, type: 3} m_SourcePrefab: {fileID: 100100000, guid: 985ea245f3670f64c9dc3d0ca6215866, type: 3}
--- !u!1 &3485586581573099226 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: -927199367670048503, guid: 985ea245f3670f64c9dc3d0ca6215866,
type: 3}
m_PrefabInstance: {fileID: 4863508889398085587}
m_PrefabAsset: {fileID: 0}
--- !u!4 &433492765613927625 stripped --- !u!4 &433492765613927625 stripped
Transform: Transform:
m_CorrespondingSourceObject: {fileID: -4216859302048453862, guid: 985ea245f3670f64c9dc3d0ca6215866, m_CorrespondingSourceObject: {fileID: -4216859302048453862, guid: 985ea245f3670f64c9dc3d0ca6215866,
type: 3} type: 3}
m_PrefabInstance: {fileID: 4863508889398085587} m_PrefabInstance: {fileID: 4863508889398085587}
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
--- !u!1001 &4863508890775490662 --- !u!1001 &8538361548055842060
PrefabInstance: PrefabInstance:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
serializedVersion: 2 serializedVersion: 2
m_Modification: m_Modification:
m_TransformParent: {fileID: 433492765613927625} m_TransformParent: {fileID: 433492765613927625}
m_Modifications: m_Modifications:
- target: {fileID: -927199367670048503, guid: 65bffeca4df9ec1479d5f6f7675e049d, - target: {fileID: 7417614742576337882, guid: f8492c61cc353c549a38ee6a49ad7991,
type: 3} type: 3}
propertyPath: m_Name propertyPath: m_Name
value: animal value: animal Variant
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -6057140222963153312, guid: 65bffeca4df9ec1479d5f6f7675e049d, - target: {fileID: 5813004271295160777, guid: f8492c61cc353c549a38ee6a49ad7991,
type: 3}
propertyPath: m_Controller
value:
objectReference: {fileID: 9100000, guid: 922b5c0531a0acc479e9a28002696ff6, type: 2}
- target: {fileID: -4216859302048453862, guid: 65bffeca4df9ec1479d5f6f7675e049d,
type: 3} type: 3}
propertyPath: m_LocalPosition.x propertyPath: m_LocalPosition.x
value: 0.0034 value: 0.0034
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -4216859302048453862, guid: 65bffeca4df9ec1479d5f6f7675e049d, - target: {fileID: 5813004271295160777, guid: f8492c61cc353c549a38ee6a49ad7991,
type: 3} type: 3}
propertyPath: m_LocalPosition.y propertyPath: m_LocalPosition.y
value: -0.010400002 value: -0.010400002
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -4216859302048453862, guid: 65bffeca4df9ec1479d5f6f7675e049d, - target: {fileID: 5813004271295160777, guid: f8492c61cc353c549a38ee6a49ad7991,
type: 3} type: 3}
propertyPath: m_LocalPosition.z propertyPath: m_LocalPosition.z
value: -0.0171 value: -0.0171
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -4216859302048453862, guid: 65bffeca4df9ec1479d5f6f7675e049d, - target: {fileID: 5813004271295160777, guid: f8492c61cc353c549a38ee6a49ad7991,
type: 3} type: 3}
propertyPath: m_LocalRotation.x propertyPath: m_LocalRotation.x
value: -0 value: -0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -4216859302048453862, guid: 65bffeca4df9ec1479d5f6f7675e049d, - target: {fileID: 5813004271295160777, guid: f8492c61cc353c549a38ee6a49ad7991,
type: 3} type: 3}
propertyPath: m_LocalRotation.y propertyPath: m_LocalRotation.y
value: -0 value: -0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -4216859302048453862, guid: 65bffeca4df9ec1479d5f6f7675e049d, - target: {fileID: 5813004271295160777, guid: f8492c61cc353c549a38ee6a49ad7991,
type: 3} type: 3}
propertyPath: m_LocalRotation.z propertyPath: m_LocalRotation.z
value: -0 value: -0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -4216859302048453862, guid: 65bffeca4df9ec1479d5f6f7675e049d, - target: {fileID: 5813004271295160777, guid: f8492c61cc353c549a38ee6a49ad7991,
type: 3} type: 3}
propertyPath: m_LocalRotation.w propertyPath: m_LocalRotation.w
value: 1 value: 1
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -4216859302048453862, guid: 65bffeca4df9ec1479d5f6f7675e049d, - target: {fileID: 5813004271295160777, guid: f8492c61cc353c549a38ee6a49ad7991,
type: 3} type: 3}
propertyPath: m_RootOrder propertyPath: m_RootOrder
value: 1 value: 1
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -4216859302048453862, guid: 65bffeca4df9ec1479d5f6f7675e049d, - target: {fileID: 5813004271295160777, guid: f8492c61cc353c549a38ee6a49ad7991,
type: 3} type: 3}
propertyPath: m_LocalEulerAnglesHint.x propertyPath: m_LocalEulerAnglesHint.x
value: 0 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -4216859302048453862, guid: 65bffeca4df9ec1479d5f6f7675e049d, - target: {fileID: 5813004271295160777, guid: f8492c61cc353c549a38ee6a49ad7991,
type: 3} type: 3}
propertyPath: m_LocalEulerAnglesHint.y propertyPath: m_LocalEulerAnglesHint.y
value: 0 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -4216859302048453862, guid: 65bffeca4df9ec1479d5f6f7675e049d, - target: {fileID: 5813004271295160777, guid: f8492c61cc353c549a38ee6a49ad7991,
type: 3} type: 3}
propertyPath: m_LocalEulerAnglesHint.z propertyPath: m_LocalEulerAnglesHint.z
value: 0 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -4216859302048453862, guid: 65bffeca4df9ec1479d5f6f7675e049d, - target: {fileID: 1438761812, guid: f8492c61cc353c549a38ee6a49ad7991, type: 3}
type: 3} propertyPath: m_spawnPoint
propertyPath: m_LocalScale.x value:
value: 0.26666668 objectReference: {fileID: 1795219250}
objectReference: {fileID: 0}
- target: {fileID: -4216859302048453862, guid: 65bffeca4df9ec1479d5f6f7675e049d,
type: 3}
propertyPath: m_LocalScale.y
value: 0.26666668
objectReference: {fileID: 0}
- target: {fileID: -4216859302048453862, guid: 65bffeca4df9ec1479d5f6f7675e049d,
type: 3}
propertyPath: m_LocalScale.z
value: -0.2666667
objectReference: {fileID: 0}
m_RemovedComponents: [] m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 65bffeca4df9ec1479d5f6f7675e049d, type: 3} m_SourcePrefab: {fileID: 100100000, guid: f8492c61cc353c549a38ee6a49ad7991, type: 3}
--- !u!1 &3485586580736821615 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: -927199367670048503, guid: 65bffeca4df9ec1479d5f6f7675e049d,
type: 3}
m_PrefabInstance: {fileID: 4863508890775490662}
m_PrefabAsset: {fileID: 0}
Aucun aperçu pour ce type de fichier
fileFormatVersion: 2 fileFormatVersion: 2
guid: 02a3116d8d100f74eaa8f69f7980a403 guid: d124b605340dbd74cb35e9c44ad152a4
folderAsset: yes
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
userData: userData:
......
fileFormatVersion: 2 fileFormatVersion: 2
guid: 98e674e46c7f2b2448370c9592076fe5 guid: 56a0506be2d25124dadc8b5d491b3f0a
folderAsset: yes
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
userData: userData:
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter