Set light to global

This commit is contained in:
Bruno Rybársky 2021-07-20 20:41:16 +02:00
parent 755d4100cc
commit 595ce513c9
2 changed files with 34 additions and 35 deletions

@ -482,7 +482,6 @@ Transform:
m_LocalScale: {x: 1, y: 1, z: 1} m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: m_Children:
- {fileID: 1880458412} - {fileID: 1880458412}
- {fileID: 1351387960}
m_Father: {fileID: 0} m_Father: {fileID: 0}
m_RootOrder: 2 m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
@ -612,7 +611,7 @@ MonoBehaviour:
bottom: {fileID: 6200000, guid: 2c0538ecede9d3b43867ca45f72ba04b, type: 2} bottom: {fileID: 6200000, guid: 2c0538ecede9d3b43867ca45f72ba04b, type: 2}
controller: {fileID: 1174924383} controller: {fileID: 1174924383}
runspeed: 40 runspeed: 40
--- !u!1 &1351387959 --- !u!1 &1266115505
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0} m_CorrespondingSourceObject: {fileID: 0}
@ -620,44 +619,30 @@ GameObject:
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
serializedVersion: 6 serializedVersion: 6
m_Component: m_Component:
- component: {fileID: 1351387960} - component: {fileID: 1266115507}
- component: {fileID: 1351387961} - component: {fileID: 1266115506}
m_Layer: 0 m_Layer: 0
m_Name: Point Light 2D m_Name: Global Light 2D
m_TagString: Untagged m_TagString: Untagged
m_Icon: {fileID: 0} m_Icon: {fileID: 0}
m_NavMeshLayer: 0 m_NavMeshLayer: 0
m_StaticEditorFlags: 0 m_StaticEditorFlags: 0
m_IsActive: 1 m_IsActive: 1
--- !u!4 &1351387960 --- !u!114 &1266115506
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1351387959}
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: 1174924377}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &1351387961
MonoBehaviour: MonoBehaviour:
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: 1351387959} m_GameObject: {fileID: 1266115505}
m_Enabled: 1 m_Enabled: 1
m_EditorHideFlags: 0 m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 073797afb82c5a1438f328866b10b3f0, type: 3} m_Script: {fileID: 11500000, guid: 073797afb82c5a1438f328866b10b3f0, type: 3}
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
m_LightType: 3 m_LightType: 4
m_BlendStyleIndex: 0 m_BlendStyleIndex: 0
m_FalloffIntensity: 0 m_FalloffIntensity: 0.5
m_Color: {r: 1, g: 1, b: 1, a: 1} m_Color: {r: 1, g: 1, b: 1, a: 1}
m_Intensity: 1 m_Intensity: 1
m_LightVolumeOpacity: 0 m_LightVolumeOpacity: 0
@ -671,7 +656,7 @@ MonoBehaviour:
m_PointLightInnerAngle: 360 m_PointLightInnerAngle: 360
m_PointLightOuterAngle: 360 m_PointLightOuterAngle: 360
m_PointLightInnerRadius: 0 m_PointLightInnerRadius: 0
m_PointLightOuterRadius: 5 m_PointLightOuterRadius: 1
m_PointLightDistance: 3 m_PointLightDistance: 3
m_PointLightQuality: 1 m_PointLightQuality: 1
m_ShapeLightParametricSides: 5 m_ShapeLightParametricSides: 5
@ -684,6 +669,20 @@ MonoBehaviour:
- {x: 0.5, y: -0.5, z: 0} - {x: 0.5, y: -0.5, z: 0}
- {x: 0.5, y: 0.5, z: 0} - {x: 0.5, y: 0.5, z: 0}
- {x: -0.5, y: 0.5, z: 0} - {x: -0.5, y: 0.5, z: 0}
--- !u!4 &1266115507
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1266115505}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -8.281664, y: -2.3889172, 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}
--- !u!1 &1419812560 --- !u!1 &1419812560
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0

@ -6,6 +6,6 @@ EditorBuildSettings:
serializedVersion: 2 serializedVersion: 2
m_Scenes: m_Scenes:
- enabled: 1 - enabled: 1
path: Assets/Scenes/SampleScene.unity path: Assets/Scenes/Level1.unity
guid: 2cda990e2423bbf4892e6590ba056729 guid: 2cda990e2423bbf4892e6590ba056729
m_configObjects: {} m_configObjects: {}