[TASK] Spawn collectable ducks on the map when in range

This commit is contained in:
2019-08-19 00:36:56 +02:00
parent 98219ecfef
commit 279c5fbbbe
2270 changed files with 6269477 additions and 182 deletions

View File

@@ -120,85 +120,6 @@ NavMeshSettings:
debug:
m_Flags: 0
m_NavMeshData: {fileID: 0}
--- !u!21 &141178761
Material:
serializedVersion: 6
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: RealisticTopMaterial
m_Shader: {fileID: 47, guid: 0000000000000000f000000000000000, type: 0}
m_ShaderKeywords: _NORMALMAP
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _BumpMap:
m_Texture: {fileID: 2800000, guid: 51c66b5db8c2a4b24a57320af1b9ccba, type: 3}
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: 2800000, guid: 350555390fc65468c902fcfa4326a7ae, type: 3}
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: 2800000, guid: 78882085082044e13b4522161b27799e, type: 3}
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}
m_Floats:
- _BumpScale: 1
- _Cutoff: 0.5
- _DetailNormalMapScale: 1
- _DstBlend: 0
- _GlossMapScale: 1
- _Glossiness: 0.5
- _GlossyReflections: 1
- _Metallic: 0
- _Mode: 0
- _OcclusionStrength: 1
- _Parallax: 0.02
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
- _UVSec: 0
- _ZWrite: 1
m_Colors:
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
--- !u!1 &211360472
GameObject:
m_ObjectHideFlags: 0
@@ -228,7 +149,14 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 81f278a72d8ed094384edec2ddef5cca, type: 3}
m_Name:
m_EditorClassIdentifier:
CollectableDucks: []
collectableDucks:
- {fileID: 11400000, guid: 249f23477afba1946908501cbb0dbf84, type: 2}
- {fileID: 11400000, guid: 915f426dd7c628042a820d71bec4629d, type: 2}
map: {fileID: 114105500120652437}
player: {fileID: 1922414673}
spawnDistance: 50
duckSpawnPrefab: {fileID: 1479837901040836379, guid: ce4bdc6c9dc169141a3a8519abf72f0c,
type: 3}
--- !u!4 &211360474
Transform:
m_ObjectHideFlags: 0
@@ -237,7 +165,7 @@ Transform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 211360472}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -0.69678473, y: 1.067601, z: 0.14955044}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}
@@ -415,85 +343,6 @@ CanvasRenderer:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 644212333}
m_CullTransparentMesh: 0
--- !u!21 &763173436
Material:
serializedVersion: 6
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: RealisticSideMaterial
m_Shader: {fileID: 47, guid: 0000000000000000f000000000000000, type: 0}
m_ShaderKeywords: _METALLICGLOSSMAP _NORMALMAP _SPECGLOSSMAP
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _BumpMap:
m_Texture: {fileID: 2800000, guid: d2a73dbb08d7ca840a90744f29331d48, type: 3}
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: 2800000, guid: b1e095fa97e0735448d692ea5d0f52b5, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
m_Texture: {fileID: 2800000, guid: 916910a2b0b27a440970a3f9c651e595, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
m_Texture: {fileID: 2800000, guid: d80341d897c46944dac3b14c8311e585, type: 3}
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: 2800000, guid: 523830272e1419a4eae6d3f62dc02761, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Floats:
- _BumpScale: 1
- _Cutoff: 0.5
- _DetailNormalMapScale: 1
- _DstBlend: 0
- _GlossMapScale: 1
- _Glossiness: 0.5
- _GlossyReflections: 1
- _Metallic: 0
- _Mode: 0
- _OcclusionStrength: 1
- _Parallax: 0.02
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
- _UVSec: 0
- _ZWrite: 1
m_Colors:
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
--- !u!1 &853360895
GameObject:
m_ObjectHideFlags: 0
@@ -1396,7 +1245,7 @@ MonoBehaviour:
latitudeLongitude: 52.01194, 4.35944
zoom: 16
extentOptions:
extentType: 0
extentType: 2
defaultExtents:
cameraBoundsOptions:
camera: {fileID: 0}
@@ -1408,9 +1257,9 @@ MonoBehaviour:
east: 1
south: 1
rangeAroundTransformOptions:
targetTransform: {fileID: 0}
visibleBuffer: 0
disposeBuffer: 0
targetTransform: {fileID: 1922414673}
visibleBuffer: 2
disposeBuffer: 4
placementOptions:
placementType: 1
snapMapToZero: 0
@@ -1419,7 +1268,7 @@ MonoBehaviour:
unityTileSize: 100
loadingTexture: {fileID: 2800000, guid: e2896a92727704803a9c422b043eae89, type: 3}
tileMaterial: {fileID: 0}
_initializeOnStart: 0
_initializeOnStart: 1
_imagery:
_layerProperty:
sourceType: 6
@@ -1535,9 +1384,9 @@ MonoBehaviour:
texturingType: 0
materials:
- Materials:
- {fileID: 141178761}
- {fileID: 0}
- Materials:
- {fileID: 763173436}
- {fileID: 0}
atlasInfo: {fileID: 11400000, guid: c422f39ca8fe566479230c87805b3301, type: 2}
lightStyleOpacity: 1
darkStyleOpacity: 1
@@ -1661,8 +1510,8 @@ MonoBehaviour:
_updateInterval: 1
_sendEvent: 0
_latitudeLongitude:
- 52.01194, 4.35944
- 52.01194, 4.35944
- 51.999143,4.380761
- 51.999104, 4.380457
_heading: 112
--- !u!114 &114693865276087873
MonoBehaviour:
@@ -1722,6 +1571,11 @@ PrefabInstance:
propertyPath: m_Name
value: OrangeDuckCollectible
objectReference: {fileID: 0}
- target: {fileID: 4296518137834665065, guid: bb1edfc992b196748be6b1db268f4815,
type: 3}
propertyPath: m_IsActive
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2175438886443421650, guid: bb1edfc992b196748be6b1db268f4815,
type: 3}
propertyPath: m_LocalPosition.x