SanAndreasUnity/Assets/Scenes/Main.unity

425 lines
13 KiB
Text
Raw Normal View History

2020-05-31 17:07:22 +00:00
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!29 &1
OcclusionCullingSettings:
m_ObjectHideFlags: 0
serializedVersion: 2
m_OcclusionBakeSettings:
smallestOccluder: 5
smallestHole: 0.25
backfaceThreshold: 100
m_SceneGUID: 00000000000000000000000000000000
m_OcclusionCullingData: {fileID: 0}
--- !u!104 &2
RenderSettings:
m_ObjectHideFlags: 0
serializedVersion: 9
m_Fog: 0
m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
m_FogMode: 3
m_FogDensity: 0.01
m_LinearFogStart: 0
m_LinearFogEnd: 300
m_AmbientSkyColor: {r: 0.7490196, g: 0.7490196, b: 0.7490196, a: 1}
m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1}
m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1}
m_AmbientIntensity: 1
m_AmbientMode: 3
m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1}
2021-05-02 21:07:16 +00:00
m_SkyboxMaterial: {fileID: 2100000, guid: bb40896b23508b74bbe272607c7ab295, type: 2}
2020-05-31 17:07:22 +00:00
m_HaloStrength: 0.5
m_FlareStrength: 1
m_FlareFadeSpeed: 3
m_HaloTexture: {fileID: 0}
m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0}
m_DefaultReflectionMode: 0
m_DefaultReflectionResolution: 128
m_ReflectionBounces: 1
m_ReflectionIntensity: 1
m_CustomReflection: {fileID: 0}
m_Sun: {fileID: 1430544495}
2019-04-24 15:16:20 +00:00
m_IndirectSpecularColor: {r: 0.4465946, g: 0.49643135, b: 0.5748264, a: 1}
2020-05-31 17:07:22 +00:00
m_UseRadianceAmbientProbe: 0
--- !u!157 &3
LightmapSettings:
m_ObjectHideFlags: 0
serializedVersion: 11
m_GIWorkflowMode: 0
m_GISettings:
serializedVersion: 2
m_BounceScale: 1
m_IndirectOutputScale: 1
m_AlbedoBoost: 1
m_EnvironmentLightingMode: 0
m_EnableBakedLightmaps: 1
m_EnableRealtimeLightmaps: 1
m_LightmapEditorSettings:
serializedVersion: 10
m_Resolution: 2
m_BakeResolution: 40
m_AtlasSize: 1024
m_AO: 0
m_AOMaxDistance: 1
m_CompAOExponent: 1
m_CompAOExponentDirect: 0
m_Padding: 2
m_LightmapParameters: {fileID: 0}
m_LightmapsBakeMode: 1
m_TextureCompression: 0
m_FinalGather: 0
m_FinalGatherFiltering: 1
m_FinalGatherRayCount: 256
m_ReflectionCompression: 2
m_MixedBakeMode: 2
m_BakeBackend: 1
m_PVRSampling: 1
m_PVRDirectSampleCount: 32
m_PVRSampleCount: 500
m_PVRBounces: 2
m_PVRFilterTypeDirect: 0
m_PVRFilterTypeIndirect: 0
m_PVRFilterTypeAO: 0
m_PVRFilteringMode: 1
m_PVRCulling: 1
m_PVRFilteringGaussRadiusDirect: 1
m_PVRFilteringGaussRadiusIndirect: 5
m_PVRFilteringGaussRadiusAO: 2
m_PVRFilteringAtrousPositionSigmaDirect: 0.5
m_PVRFilteringAtrousPositionSigmaIndirect: 2
m_PVRFilteringAtrousPositionSigmaAO: 1
m_ShowResolutionOverlay: 1
m_LightingDataAsset: {fileID: 0}
m_UseShadowmask: 1
--- !u!196 &4
NavMeshSettings:
serializedVersion: 2
m_ObjectHideFlags: 0
m_BuildSettings:
serializedVersion: 2
agentTypeID: 0
agentRadius: 0.5
agentHeight: 2
agentSlope: 45
agentClimb: 0.4
ledgeDropHeight: 0
maxJumpAcrossDistance: 0
minRegionArea: 2
manualCellSize: 0
cellSize: 0.16666667
manualTileSize: 0
tileSize: 256
accuratePlacement: 0
debug:
m_Flags: 0
m_NavMeshData: {fileID: 0}
2022-01-22 01:03:14 +00:00
--- !u!1 &1081957303
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1081957305}
- component: {fileID: 1081957304}
m_Layer: 0
m_Name: LoadProcessStarter
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!114 &1081957304
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1081957303}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: ae518e67abdbf334cb5c7eb663e4fd03, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!4 &1081957305
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1081957303}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
2020-05-31 17:07:22 +00:00
--- !u!1 &1117230320
GameObject:
m_ObjectHideFlags: 0
2019-04-24 15:16:20 +00:00
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
2020-05-31 17:07:22 +00:00
m_Component:
- component: {fileID: 1117230324}
- component: {fileID: 1117230323}
- component: {fileID: 1117230322}
- component: {fileID: 1117230321}
- component: {fileID: 1117230325}
new world loading system (#110) * wip * much faster world creation * add StaticGeometryInspector * disable child/parent logic and fading * rename * (de)activate objects based on parent * set draw distance based on layers * ... * wip * wip * wip * remove unused param * prevent concurrent modification * ... * catch exceptions when notifying * ... * notify about area, not objects * limit public access to Area * ... * ... * allow public access * add public api * adapt code * pass callback to ctor * adapt focus points * fix * fix intersection check * support rectangles * adjust parameters in prefab * this should fix IsInsideOf() * ... * ... * fix getting area by index * create area if not exists * ... * ... * ... * wip for distance levels * remove constraint on generic parameter * add some validation * fix * fix draw distance per level * change time of day in which lights are visible * add todos * don't use id for UnRegisterFocusPoint() * use hash set for storing focus points * add 1 more level * mark area for update only if visibility changes * profile WorldSystem calls * add some profiling sections * limit time per frame for LoadingThread * switch custom concurrent queue * copy jobs to buffer * rename * change max draw distance setting * wait one more frame * try to remove 801 distance level to remove holes * attempt to hide interiors, but failed * delete no longer needed script * optimization * some error checking * add camera as focus point * dont add camera as focus point in headless mode * working on load priority * fix bug - load priority finished * ... * small optimizations * ... * ... * remove unneeded variable * add fading * dont do fading in headless mode * fadeRate available in inspector * change fade rate * take into account if geometry is loaded when checking if object should be visible, and if fading should be done * small optimization * cache IsInHeadlessMode * display Instance info in inspector * move interiors up in the sky * rename * adapt code to different y pos of interiors * refactor * fix finding matched enex for enexes that lead to the same interior level * display new world stats * rename * rename class * ... * ... * extract function * extract parameters into a struct * add focus point to dead body * add focus point to vehicle * add focus point to vehicle detached parts * remove OutOfRangeDestroyer from vehicle, and destroy vehicle if it falls below the map * dont use focus points on vehicle and vehicle detached parts, when not on server * add focus point for npc peds * add possibility to set timeout during which focus point keeps revealing after it's destroyed * adapt UnRegisterFocusPoint() to timeout * rename * adapt code * cleanup MapObject class * ... * converting to `lock()` * optimize method: use 1 lock instead of 3 * call OnObjectFinishedLoading() instead of AddToLoadedObjects() * ... * make sure it's main thread * AsyncLoader is no longer thread safe * convert static members to non-static in LoadingThread * fix * ... * store indexes for each area * impl GetAreaCenter() * calculate load priority based on distance to area, not objects ; limit time per frame ; sort area in Cell, not in concurrent SortedSet ; * add support for changing draw distance at runtime * delay setting the new value by 0.2 s * have a separate default max draw distance for mobile platforms * adjust y axis world params so that number of visible areas is reduced * remove "camera far clip plane" setting * rename * document flags * rename * disable shadow casting and receiving for some objects * allow casting shadows for LODs with large draw distance * remove "WorldSystem" layer * revert layer
2021-07-18 04:03:43 +00:00
- component: {fileID: 1117230326}
- component: {fileID: 1117230327}
2020-05-31 17:07:22 +00:00
m_Layer: 0
m_Name: Camera
m_TagString: MainCamera
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!81 &1117230321
AudioListener:
m_ObjectHideFlags: 0
2019-04-24 15:16:20 +00:00
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
2020-05-31 17:07:22 +00:00
m_GameObject: {fileID: 1117230320}
m_Enabled: 1
--- !u!124 &1117230322
Behaviour:
m_ObjectHideFlags: 0
2019-04-24 15:16:20 +00:00
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
2020-05-31 17:07:22 +00:00
m_GameObject: {fileID: 1117230320}
m_Enabled: 1
--- !u!20 &1117230323
Camera:
m_ObjectHideFlags: 0
2019-04-24 15:16:20 +00:00
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
2020-05-31 17:07:22 +00:00
m_GameObject: {fileID: 1117230320}
m_Enabled: 1
serializedVersion: 2
m_ClearFlags: 1
m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0}
2019-04-24 15:16:20 +00:00
m_projectionMatrixMode: 1
m_SensorSize: {x: 36, y: 24}
m_LensShift: {x: 0, y: 0}
m_GateFitMode: 2
m_FocalLength: 50
2020-05-31 17:07:22 +00:00
m_NormalizedViewPortRect:
serializedVersion: 2
x: 0
y: 0
width: 1
height: 1
near clip plane: 0.3
far clip plane: 1000
field of view: 60
orthographic: 0
orthographic size: 5
m_Depth: 0
m_CullingMask:
serializedVersion: 2
m_Bits: 4294967295
m_RenderingPath: -1
m_TargetTexture: {fileID: 0}
m_TargetDisplay: 0
m_TargetEye: 3
m_HDR: 1
m_AllowMSAA: 1
m_AllowDynamicResolution: 0
m_ForceIntoRT: 0
m_OcclusionCulling: 1
m_StereoConvergence: 10
m_StereoSeparation: 0.022
--- !u!4 &1117230324
Transform:
m_ObjectHideFlags: 0
2019-04-24 15:16:20 +00:00
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
2020-05-31 17:07:22 +00:00
m_GameObject: {fileID: 1117230320}
m_LocalRotation: {x: 0, y: 0.73046196, z: 0, w: 0.6829534}
m_LocalPosition: {x: 2106.089, y: 40, z: 1848.0103}
m_LocalScale: {x: 1.0000002, y: 1, z: 1.0000005}
2020-05-31 17:07:22 +00:00
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &1117230325
MonoBehaviour:
m_ObjectHideFlags: 0
2019-04-24 15:16:20 +00:00
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
2020-05-31 17:07:22 +00:00
m_GameObject: {fileID: 1117230320}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 27b72409b037b08459c5c96c104ca2fe, type: 3}
m_Name:
m_EditorClassIdentifier:
toggleKey: 0
displayLines: 1
displayGizmos: 0
zOnShader: {fileID: 4800000, guid: 6602491fb85d04f7facf2932f1831720, type: 3}
zOffShader: {fileID: 4800000, guid: 12cb60961770c4d7e8cc1662ca101fec, type: 3}
new world loading system (#110) * wip * much faster world creation * add StaticGeometryInspector * disable child/parent logic and fading * rename * (de)activate objects based on parent * set draw distance based on layers * ... * wip * wip * wip * remove unused param * prevent concurrent modification * ... * catch exceptions when notifying * ... * notify about area, not objects * limit public access to Area * ... * ... * allow public access * add public api * adapt code * pass callback to ctor * adapt focus points * fix * fix intersection check * support rectangles * adjust parameters in prefab * this should fix IsInsideOf() * ... * ... * fix getting area by index * create area if not exists * ... * ... * ... * wip for distance levels * remove constraint on generic parameter * add some validation * fix * fix draw distance per level * change time of day in which lights are visible * add todos * don't use id for UnRegisterFocusPoint() * use hash set for storing focus points * add 1 more level * mark area for update only if visibility changes * profile WorldSystem calls * add some profiling sections * limit time per frame for LoadingThread * switch custom concurrent queue * copy jobs to buffer * rename * change max draw distance setting * wait one more frame * try to remove 801 distance level to remove holes * attempt to hide interiors, but failed * delete no longer needed script * optimization * some error checking * add camera as focus point * dont add camera as focus point in headless mode * working on load priority * fix bug - load priority finished * ... * small optimizations * ... * ... * remove unneeded variable * add fading * dont do fading in headless mode * fadeRate available in inspector * change fade rate * take into account if geometry is loaded when checking if object should be visible, and if fading should be done * small optimization * cache IsInHeadlessMode * display Instance info in inspector * move interiors up in the sky * rename * adapt code to different y pos of interiors * refactor * fix finding matched enex for enexes that lead to the same interior level * display new world stats * rename * rename class * ... * ... * extract function * extract parameters into a struct * add focus point to dead body * add focus point to vehicle * add focus point to vehicle detached parts * remove OutOfRangeDestroyer from vehicle, and destroy vehicle if it falls below the map * dont use focus points on vehicle and vehicle detached parts, when not on server * add focus point for npc peds * add possibility to set timeout during which focus point keeps revealing after it's destroyed * adapt UnRegisterFocusPoint() to timeout * rename * adapt code * cleanup MapObject class * ... * converting to `lock()` * optimize method: use 1 lock instead of 3 * call OnObjectFinishedLoading() instead of AddToLoadedObjects() * ... * make sure it's main thread * AsyncLoader is no longer thread safe * convert static members to non-static in LoadingThread * fix * ... * store indexes for each area * impl GetAreaCenter() * calculate load priority based on distance to area, not objects ; limit time per frame ; sort area in Cell, not in concurrent SortedSet ; * add support for changing draw distance at runtime * delay setting the new value by 0.2 s * have a separate default max draw distance for mobile platforms * adjust y axis world params so that number of visible areas is reduced * remove "camera far clip plane" setting * rename * document flags * rename * disable shadow casting and receiving for some objects * allow casting shadows for LODs with large draw distance * remove "WorldSystem" layer * revert layer
2021-07-18 04:03:43 +00:00
--- !u!114 &1117230326
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1117230320}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: f261590297a9b11459cc24b5b949c608, type: 3}
m_Name:
m_EditorClassIdentifier:
parameters:
hasRevealRadius: 0
revealRadius: 0
timeToKeepRevealingAfterRemoved: 3
new world loading system (#110) * wip * much faster world creation * add StaticGeometryInspector * disable child/parent logic and fading * rename * (de)activate objects based on parent * set draw distance based on layers * ... * wip * wip * wip * remove unused param * prevent concurrent modification * ... * catch exceptions when notifying * ... * notify about area, not objects * limit public access to Area * ... * ... * allow public access * add public api * adapt code * pass callback to ctor * adapt focus points * fix * fix intersection check * support rectangles * adjust parameters in prefab * this should fix IsInsideOf() * ... * ... * fix getting area by index * create area if not exists * ... * ... * ... * wip for distance levels * remove constraint on generic parameter * add some validation * fix * fix draw distance per level * change time of day in which lights are visible * add todos * don't use id for UnRegisterFocusPoint() * use hash set for storing focus points * add 1 more level * mark area for update only if visibility changes * profile WorldSystem calls * add some profiling sections * limit time per frame for LoadingThread * switch custom concurrent queue * copy jobs to buffer * rename * change max draw distance setting * wait one more frame * try to remove 801 distance level to remove holes * attempt to hide interiors, but failed * delete no longer needed script * optimization * some error checking * add camera as focus point * dont add camera as focus point in headless mode * working on load priority * fix bug - load priority finished * ... * small optimizations * ... * ... * remove unneeded variable * add fading * dont do fading in headless mode * fadeRate available in inspector * change fade rate * take into account if geometry is loaded when checking if object should be visible, and if fading should be done * small optimization * cache IsInHeadlessMode * display Instance info in inspector * move interiors up in the sky * rename * adapt code to different y pos of interiors * refactor * fix finding matched enex for enexes that lead to the same interior level * display new world stats * rename * rename class * ... * ... * extract function * extract parameters into a struct * add focus point to dead body * add focus point to vehicle * add focus point to vehicle detached parts * remove OutOfRangeDestroyer from vehicle, and destroy vehicle if it falls below the map * dont use focus points on vehicle and vehicle detached parts, when not on server * add focus point for npc peds * add possibility to set timeout during which focus point keeps revealing after it's destroyed * adapt UnRegisterFocusPoint() to timeout * rename * adapt code * cleanup MapObject class * ... * converting to `lock()` * optimize method: use 1 lock instead of 3 * call OnObjectFinishedLoading() instead of AddToLoadedObjects() * ... * make sure it's main thread * AsyncLoader is no longer thread safe * convert static members to non-static in LoadingThread * fix * ... * store indexes for each area * impl GetAreaCenter() * calculate load priority based on distance to area, not objects ; limit time per frame ; sort area in Cell, not in concurrent SortedSet ; * add support for changing draw distance at runtime * delay setting the new value by 0.2 s * have a separate default max draw distance for mobile platforms * adjust y axis world params so that number of visible areas is reduced * remove "camera far clip plane" setting * rename * document flags * rename * disable shadow casting and receiving for some objects * allow casting shadows for LODs with large draw distance * remove "WorldSystem" layer * revert layer
2021-07-18 04:03:43 +00:00
--- !u!114 &1117230327
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1117230320}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 4bb8f0fea23c3fe44828518a6ea9ad15, type: 3}
m_Name:
m_EditorClassIdentifier:
componentsToDestroy:
- {fileID: 1117230326}
2020-05-31 17:07:22 +00:00
--- !u!108 &1430544495 stripped
Light:
2019-04-24 15:16:20 +00:00
m_CorrespondingSourceObject: {fileID: 10808534, guid: b6900baf9f552ba46ad27d4ada4d5489,
type: 3}
m_PrefabInstance: {fileID: 2088939132}
m_PrefabAsset: {fileID: 0}
2020-05-31 17:07:22 +00:00
--- !u!1001 &1631170488
2019-04-24 15:16:20 +00:00
PrefabInstance:
2020-05-31 17:07:22 +00:00
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications:
2019-04-24 15:16:20 +00:00
- target: {fileID: 400000, guid: 780611a67e8e941a2b3aa96e5915a793, type: 3}
2020-05-31 17:07:22 +00:00
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
2019-04-24 15:16:20 +00:00
- target: {fileID: 400000, guid: 780611a67e8e941a2b3aa96e5915a793, type: 3}
2020-05-31 17:07:22 +00:00
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
2019-04-24 15:16:20 +00:00
- target: {fileID: 400000, guid: 780611a67e8e941a2b3aa96e5915a793, type: 3}
2020-05-31 17:07:22 +00:00
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
2019-04-24 15:16:20 +00:00
- target: {fileID: 400000, guid: 780611a67e8e941a2b3aa96e5915a793, type: 3}
2020-05-31 17:07:22 +00:00
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
2019-04-24 15:16:20 +00:00
- target: {fileID: 400000, guid: 780611a67e8e941a2b3aa96e5915a793, type: 3}
2020-05-31 17:07:22 +00:00
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
2019-04-24 15:16:20 +00:00
- target: {fileID: 400000, guid: 780611a67e8e941a2b3aa96e5915a793, type: 3}
2020-05-31 17:07:22 +00:00
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
2019-04-24 15:16:20 +00:00
- target: {fileID: 400000, guid: 780611a67e8e941a2b3aa96e5915a793, type: 3}
2020-05-31 17:07:22 +00:00
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
2019-04-24 15:16:20 +00:00
- target: {fileID: 400000, guid: 780611a67e8e941a2b3aa96e5915a793, type: 3}
2020-05-31 17:07:22 +00:00
propertyPath: m_RootOrder
value: 2
2020-05-31 17:07:22 +00:00
objectReference: {fileID: 0}
2019-04-24 15:16:20 +00:00
- target: {fileID: 400000, guid: 780611a67e8e941a2b3aa96e5915a793, type: 3}
2020-05-31 17:07:22 +00:00
propertyPath: m_LocalScale.x
value: 1
objectReference: {fileID: 0}
2019-04-24 15:16:20 +00:00
- target: {fileID: 400000, guid: 780611a67e8e941a2b3aa96e5915a793, type: 3}
2020-05-31 17:07:22 +00:00
propertyPath: m_LocalScale.z
value: 1
objectReference: {fileID: 0}
2019-04-24 15:16:20 +00:00
- target: {fileID: 11400000, guid: 780611a67e8e941a2b3aa96e5915a793, type: 3}
propertyPath: textureSize
value: 16
objectReference: {fileID: 0}
- target: {fileID: 11400000, guid: 780611a67e8e941a2b3aa96e5915a793, type: 3}
propertyPath: waterMode
value: 0
objectReference: {fileID: 0}
2020-05-31 17:07:22 +00:00
m_RemovedComponents: []
2019-04-24 15:16:20 +00:00
m_SourcePrefab: {fileID: 100100000, guid: 780611a67e8e941a2b3aa96e5915a793, type: 3}
2020-05-31 17:07:22 +00:00
--- !u!1 &1631170489 stripped
GameObject:
2019-04-24 15:16:20 +00:00
m_CorrespondingSourceObject: {fileID: 100000, guid: 780611a67e8e941a2b3aa96e5915a793,
type: 3}
m_PrefabInstance: {fileID: 1631170488}
m_PrefabAsset: {fileID: 0}
2020-05-31 17:07:22 +00:00
--- !u!1001 &2088939132
2019-04-24 15:16:20 +00:00
PrefabInstance:
2020-05-31 17:07:22 +00:00
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications:
2019-04-24 15:16:20 +00:00
- target: {fileID: 499186, guid: b6900baf9f552ba46ad27d4ada4d5489, type: 3}
2020-05-31 17:07:22 +00:00
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
2019-04-24 15:16:20 +00:00
- target: {fileID: 499186, guid: b6900baf9f552ba46ad27d4ada4d5489, type: 3}
2020-05-31 17:07:22 +00:00
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
2019-04-24 15:16:20 +00:00
- target: {fileID: 499186, guid: b6900baf9f552ba46ad27d4ada4d5489, type: 3}
2020-05-31 17:07:22 +00:00
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
2019-04-24 15:16:20 +00:00
- target: {fileID: 499186, guid: b6900baf9f552ba46ad27d4ada4d5489, type: 3}
2020-05-31 17:07:22 +00:00
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
2019-04-24 15:16:20 +00:00
- target: {fileID: 499186, guid: b6900baf9f552ba46ad27d4ada4d5489, type: 3}
2020-05-31 17:07:22 +00:00
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
2019-04-24 15:16:20 +00:00
- target: {fileID: 499186, guid: b6900baf9f552ba46ad27d4ada4d5489, type: 3}
2020-05-31 17:07:22 +00:00
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
2019-04-24 15:16:20 +00:00
- target: {fileID: 499186, guid: b6900baf9f552ba46ad27d4ada4d5489, type: 3}
2020-05-31 17:07:22 +00:00
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
2019-04-24 15:16:20 +00:00
- target: {fileID: 499186, guid: b6900baf9f552ba46ad27d4ada4d5489, type: 3}
2020-05-31 17:07:22 +00:00
propertyPath: m_RootOrder
value: 1
objectReference: {fileID: 0}
new world loading system (#110) * wip * much faster world creation * add StaticGeometryInspector * disable child/parent logic and fading * rename * (de)activate objects based on parent * set draw distance based on layers * ... * wip * wip * wip * remove unused param * prevent concurrent modification * ... * catch exceptions when notifying * ... * notify about area, not objects * limit public access to Area * ... * ... * allow public access * add public api * adapt code * pass callback to ctor * adapt focus points * fix * fix intersection check * support rectangles * adjust parameters in prefab * this should fix IsInsideOf() * ... * ... * fix getting area by index * create area if not exists * ... * ... * ... * wip for distance levels * remove constraint on generic parameter * add some validation * fix * fix draw distance per level * change time of day in which lights are visible * add todos * don't use id for UnRegisterFocusPoint() * use hash set for storing focus points * add 1 more level * mark area for update only if visibility changes * profile WorldSystem calls * add some profiling sections * limit time per frame for LoadingThread * switch custom concurrent queue * copy jobs to buffer * rename * change max draw distance setting * wait one more frame * try to remove 801 distance level to remove holes * attempt to hide interiors, but failed * delete no longer needed script * optimization * some error checking * add camera as focus point * dont add camera as focus point in headless mode * working on load priority * fix bug - load priority finished * ... * small optimizations * ... * ... * remove unneeded variable * add fading * dont do fading in headless mode * fadeRate available in inspector * change fade rate * take into account if geometry is loaded when checking if object should be visible, and if fading should be done * small optimization * cache IsInHeadlessMode * display Instance info in inspector * move interiors up in the sky * rename * adapt code to different y pos of interiors * refactor * fix finding matched enex for enexes that lead to the same interior level * display new world stats * rename * rename class * ... * ... * extract function * extract parameters into a struct * add focus point to dead body * add focus point to vehicle * add focus point to vehicle detached parts * remove OutOfRangeDestroyer from vehicle, and destroy vehicle if it falls below the map * dont use focus points on vehicle and vehicle detached parts, when not on server * add focus point for npc peds * add possibility to set timeout during which focus point keeps revealing after it's destroyed * adapt UnRegisterFocusPoint() to timeout * rename * adapt code * cleanup MapObject class * ... * converting to `lock()` * optimize method: use 1 lock instead of 3 * call OnObjectFinishedLoading() instead of AddToLoadedObjects() * ... * make sure it's main thread * AsyncLoader is no longer thread safe * convert static members to non-static in LoadingThread * fix * ... * store indexes for each area * impl GetAreaCenter() * calculate load priority based on distance to area, not objects ; limit time per frame ; sort area in Cell, not in concurrent SortedSet ; * add support for changing draw distance at runtime * delay setting the new value by 0.2 s * have a separate default max draw distance for mobile platforms * adjust y axis world params so that number of visible areas is reduced * remove "camera far clip plane" setting * rename * document flags * rename * disable shadow casting and receiving for some objects * allow casting shadows for LODs with large draw distance * remove "WorldSystem" layer * revert layer
2021-07-18 04:03:43 +00:00
- target: {fileID: 11436500, guid: b6900baf9f552ba46ad27d4ada4d5489, type: 3}
propertyPath: focusPoints.Array.size
value: 1
objectReference: {fileID: 0}
- target: {fileID: 11436500, guid: b6900baf9f552ba46ad27d4ada4d5489, type: 3}
propertyPath: Focus
value:
objectReference: {fileID: 1117230324}
- target: {fileID: 11436500, guid: b6900baf9f552ba46ad27d4ada4d5489, type: 3}
propertyPath: focusPoints.Array.data[0]
value:
objectReference: {fileID: 0}
2019-04-24 15:16:20 +00:00
- target: {fileID: 11455068, guid: b6900baf9f552ba46ad27d4ada4d5489, type: 3}
2020-05-31 17:07:22 +00:00
propertyPath: WaterPrefab
value:
objectReference: {fileID: 1631170489}
m_RemovedComponents: []
2019-04-24 15:16:20 +00:00
m_SourcePrefab: {fileID: 100100000, guid: b6900baf9f552ba46ad27d4ada4d5489, type: 3}