浏览代码

update lights

/develop/superpush/int/hunter
HH 4 年前
当前提交
af3bc854
共有 4 个文件被更改,包括 163 次插入218 次删除
  1. 2
      Project/Assets/ML-Agents/Examples/PushBlock/Prefabs/Column.prefab
  2. 4
      Project/Assets/ML-Agents/Examples/PushBlock/Prefabs/DungeonEscapeAgent.prefab
  3. 182
      Project/Assets/ML-Agents/Examples/PushBlock/Prefabs/DungeonEscapePlatform.prefab
  4. 193
      Project/Assets/ML-Agents/Examples/PushBlock/Scenes/DungeonEscape.unity

2
Project/Assets/ML-Agents/Examples/PushBlock/Prefabs/Column.prefab


m_Cookie: {fileID: 0}
m_DrawHalo: 0
m_Flare: {fileID: 0}
m_RenderMode: 0
m_RenderMode: 1
m_CullingMask:
serializedVersion: 2
m_Bits: 4294967295

4
Project/Assets/ML-Agents/Examples/PushBlock/Prefabs/DungeonEscapeAgent.prefab


m_Cookie: {fileID: 0}
m_DrawHalo: 0
m_Flare: {fileID: 0}
m_RenderMode: 0
m_RenderMode: 1
m_CullingMask:
serializedVersion: 2
m_Bits: 4294967295

VectorActionDescriptions: []
VectorActionSpaceType: 0
hasUpgradedBrainParametersWithActionSpec: 1
m_Model: {fileID: 11400000, guid: b084c4e4592dc4825b4bc433358fcd75, type: 3}
m_Model: {fileID: 11400000, guid: 92ab7655c543b4bedb2982bb00ca6ba4, type: 3}
m_InferenceDevice: 0
m_BehaviorType: 0
m_BehaviorName: PushBlock

182
Project/Assets/ML-Agents/Examples/PushBlock/Prefabs/DungeonEscapePlatform.prefab


%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &122736271
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 122736272}
- component: {fileID: 122736273}
m_Layer: 0
m_Name: Point Light
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &122736272
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 122736271}
m_LocalRotation: {x: 0.34413856, y: -0, z: -0, w: 0.9389189}
m_LocalPosition: {x: 0, y: 4.4, z: -4.02}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 855554230}
m_RootOrder: 4
m_LocalEulerAnglesHint: {x: 40.258003, y: 0, z: 0}
--- !u!108 &122736273
Light:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 122736271}
m_Enabled: 1
serializedVersion: 8
m_Type: 0
m_Color: {r: 1, g: 0.8196079, b: 0, a: 1}
m_Intensity: 5.14
m_Range: 11.55
m_SpotAngle: 67
m_CookieSize: 10
m_Shadows:
m_Type: 2
m_Resolution: -1
m_CustomResolution: -1
m_Strength: 1
m_Bias: 0.05
m_NormalBias: 0.4
m_NearPlane: 0.2
m_Cookie: {fileID: 0}
m_DrawHalo: 0
m_Flare: {fileID: 0}
m_RenderMode: 1
m_CullingMask:
serializedVersion: 2
m_Bits: 4294967295
m_Lightmapping: 4
m_LightShadowCasterMode: 0
m_AreaSize: {x: 1, y: 1}
m_BounceIntensity: 1
m_ColorTemperature: 6570
m_UseColorTemperature: 0
m_ShadowRadius: 0
m_ShadowAngle: 0
--- !u!1 &597878121
GameObject:
m_ObjectHideFlags: 0

m_FallbackScreenDPI: 96
m_DefaultSpriteDPI: 96
m_DynamicPixelsPerUnit: 1
--- !u!1 &735508124
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 735508125}
- component: {fileID: 735508126}
m_Layer: 0
m_Name: Point Light
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &735508125
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 735508124}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -0, y: 0.38, z: 1.13}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 2509355368631227656}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!108 &735508126
Light:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 735508124}
m_Enabled: 1
serializedVersion: 8
m_Type: 2
m_Color: {r: 0.508012, g: 0.27205884, b: 1, a: 0}
m_Intensity: 3
m_Range: 20
m_SpotAngle: 30
m_CookieSize: 10
m_Shadows:
m_Type: 0
m_Resolution: -1
m_CustomResolution: -1
m_Strength: 1
m_Bias: 0.05
m_NormalBias: 0.4
m_NearPlane: 0.2
m_Cookie: {fileID: 0}
m_DrawHalo: 0
m_Flare: {fileID: 0}
m_RenderMode: 1
m_CullingMask:
serializedVersion: 2
m_Bits: 4294967295
m_Lightmapping: 4
m_LightShadowCasterMode: 0
m_AreaSize: {x: 1, y: 1}
m_BounceIntensity: 1
m_ColorTemperature: 6570
m_UseColorTemperature: 0
m_ShadowRadius: 0
m_ShadowAngle: 0
--- !u!1 &855554229
GameObject:
m_ObjectHideFlags: 0

- {fileID: 1338056009}
- {fileID: 1061239967}
- {fileID: 2066251693}
- {fileID: 122736272}
m_Father: {fileID: 2512227112770887927}
m_RootOrder: 15
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}

m_Cookie: {fileID: 0}
m_DrawHalo: 0
m_Flare: {fileID: 0}
m_RenderMode: 0
m_RenderMode: 1
m_CullingMask:
serializedVersion: 2
m_Bits: 4294967295

objectReference: {fileID: 0}
- target: {fileID: 400000, guid: 1a4b9dc81d687497caac7ac380e5acdd, type: 3}
propertyPath: m_LocalPosition.y
value: 0.57
value: 0.73
objectReference: {fileID: 0}
- target: {fileID: 400000, guid: 1a4b9dc81d687497caac7ac380e5acdd, type: 3}
propertyPath: m_LocalPosition.z

objectReference: {fileID: 0}
- target: {fileID: 400000, guid: 1a4b9dc81d687497caac7ac380e5acdd, type: 3}
propertyPath: m_LocalScale.y
value: 2.713379
value: 3.4470768
objectReference: {fileID: 0}
- target: {fileID: 400000, guid: 1a4b9dc81d687497caac7ac380e5acdd, type: 3}
propertyPath: m_LocalScale.z

objectReference: {fileID: 2100000, guid: 262d8cbc02b104990841408098431457, type: 2}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 1a4b9dc81d687497caac7ac380e5acdd, type: 3}
--- !u!4 &2509355368631227656 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 400000, guid: 1a4b9dc81d687497caac7ac380e5acdd,
type: 3}
m_PrefabInstance: {fileID: 2509355368631357320}
m_PrefabAsset: {fileID: 0}
type: 3}
m_PrefabInstance: {fileID: 2509355368631357320}
m_PrefabAsset: {fileID: 0}
--- !u!4 &2509355368631227656 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 400000, guid: 1a4b9dc81d687497caac7ac380e5acdd,
type: 3}
m_PrefabInstance: {fileID: 2509355368631357320}
m_PrefabAsset: {fileID: 0}

propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 390460369537414899, guid: 69a64861a32794a5db3bcea0cae3bef2,
type: 3}
propertyPath: m_LocalScale.x
value: 1
objectReference: {fileID: 0}
- target: {fileID: 390460369537414899, guid: 69a64861a32794a5db3bcea0cae3bef2,
type: 3}
propertyPath: m_LocalScale.y
value: 1
objectReference: {fileID: 0}
- target: {fileID: 390460369537414899, guid: 69a64861a32794a5db3bcea0cae3bef2,
type: 3}
propertyPath: m_LocalScale.z
value: 1
objectReference: {fileID: 0}
- target: {fileID: 5184265935082300294, guid: 69a64861a32794a5db3bcea0cae3bef2,
type: 3}
propertyPath: m_Name

m_Modification:
m_TransformParent: {fileID: 2512227112770887927}
m_Modifications:
- target: {fileID: 4796904010917588665, guid: f3c5280e4ae094a9a9b8b6702630c941,
type: 3}
propertyPath: m_Model
value:
objectReference: {fileID: 11400000, guid: 4db398fff11a947168776c85718356e6,
type: 3}
- target: {fileID: 4828233698206621445, guid: f3c5280e4ae094a9a9b8b6702630c941,
type: 3}
propertyPath: m_Name

type: 3}
propertyPath: m_Model
value:
objectReference: {fileID: 11400000, guid: 4db398fff11a947168776c85718356e6,
objectReference: {fileID: 11400000, guid: 92ab7655c543b4bedb2982bb00ca6ba4,
type: 3}
- target: {fileID: 4828233698206621445, guid: f3c5280e4ae094a9a9b8b6702630c941,
type: 3}

type: 3}
propertyPath: m_Model
value:
objectReference: {fileID: 11400000, guid: 4db398fff11a947168776c85718356e6,
objectReference: {fileID: 11400000, guid: 92ab7655c543b4bedb2982bb00ca6ba4,
type: 3}
- target: {fileID: 4828233698206621445, guid: f3c5280e4ae094a9a9b8b6702630c941,
type: 3}

193
Project/Assets/ML-Agents/Examples/PushBlock/Scenes/DungeonEscape.unity


objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 5878a6d7527854d0a84b133c7c6efe55, type: 3}
--- !u!1 &122736271
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 122736272}
- component: {fileID: 122736273}
m_Layer: 0
m_Name: Point Light
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &122736272
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 122736271}
m_LocalRotation: {x: 0.6085949, y: -0, z: -0, w: 0.7934811}
m_LocalPosition: {x: 0, y: 9.12, z: -3.73}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 855554230}
m_RootOrder: 4
m_LocalEulerAnglesHint: {x: 74.976006, y: 0, z: 0}
--- !u!108 &122736273
Light:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 122736271}
m_Enabled: 1
serializedVersion: 8
m_Type: 0
m_Color: {r: 1, g: 0.8196079, b: 0, a: 1}
m_Intensity: 40
m_Range: 10
m_SpotAngle: 37
m_CookieSize: 10
m_Shadows:
m_Type: 2
m_Resolution: -1
m_CustomResolution: -1
m_Strength: 1
m_Bias: 0.05
m_NormalBias: 0.4
m_NearPlane: 0.2
m_Cookie: {fileID: 0}
m_DrawHalo: 0
m_Flare: {fileID: 0}
m_RenderMode: 0
m_CullingMask:
serializedVersion: 2
m_Bits: 4294967295
m_Lightmapping: 4
m_LightShadowCasterMode: 0
m_AreaSize: {x: 1, y: 1}
m_BounceIntensity: 1
m_ColorTemperature: 6570
m_UseColorTemperature: 0
m_ShadowRadius: 0
m_ShadowAngle: 0
--- !u!1001 &173285734
PrefabInstance:
m_ObjectHideFlags: 0

type: 3}
propertyPath: m_Intensity
value: 2
objectReference: {fileID: 0}
- target: {fileID: 108227806558212132, guid: 5889392e3f05b448a8a06c5def6c2dec,
type: 3}
propertyPath: m_RenderMode
value: 1
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 5889392e3f05b448a8a06c5def6c2dec, type: 3}

propertyPath: m_Intensity
value: 0.3
objectReference: {fileID: 0}
- target: {fileID: 108227806558212132, guid: 5889392e3f05b448a8a06c5def6c2dec,
type: 3}
propertyPath: m_RenderMode
value: 1
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 5889392e3f05b448a8a06c5def6c2dec, type: 3}
--- !u!1001 &645444467

objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 5878a6d7527854d0a84b133c7c6efe55, type: 3}
--- !u!1 &735508124
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 735508125}
- component: {fileID: 735508126}
m_Layer: 0
m_Name: Point Light
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &735508125
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 735508124}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -0, y: 0.38, z: 1.13}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 1900544068}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!108 &735508126
Light:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 735508124}
m_Enabled: 1
serializedVersion: 8
m_Type: 2
m_Color: {r: 0.508012, g: 0.27205884, b: 1, a: 0}
m_Intensity: 3
m_Range: 20
m_SpotAngle: 30
m_CookieSize: 10
m_Shadows:
m_Type: 0
m_Resolution: -1
m_CustomResolution: -1
m_Strength: 1
m_Bias: 0.05
m_NormalBias: 0.4
m_NearPlane: 0.2
m_Cookie: {fileID: 0}
m_DrawHalo: 0
m_Flare: {fileID: 0}
m_RenderMode: 1
m_CullingMask:
serializedVersion: 2
m_Bits: 4294967295
m_Lightmapping: 4
m_LightShadowCasterMode: 0
m_AreaSize: {x: 1, y: 1}
m_BounceIntensity: 1
m_ColorTemperature: 6570
m_UseColorTemperature: 0
m_ShadowRadius: 0
m_ShadowAngle: 0
--- !u!1 &758716583
GameObject:
m_ObjectHideFlags: 0

m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 775780880}
m_Mesh: {fileID: 10206, guid: 0000000000000000e000000000000000, type: 0}
--- !u!4 &855554230 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 855554230, guid: 5878a6d7527854d0a84b133c7c6efe55,
type: 3}
m_PrefabInstance: {fileID: 2509355369448722377}
m_PrefabAsset: {fileID: 0}
--- !u!1001 &912141533
PrefabInstance:
m_ObjectHideFlags: 0

objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 3ce107b4a79bc4eef83afde434932a68, type: 3}
--- !u!4 &1900544068 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 2509355368631227656, guid: 5878a6d7527854d0a84b133c7c6efe55,
type: 3}
m_PrefabInstance: {fileID: 2509355369448722377}
m_PrefabAsset: {fileID: 0}
--- !u!1 &2041978408
GameObject:
m_ObjectHideFlags: 0

m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 1917226959654427030, guid: 5878a6d7527854d0a84b133c7c6efe55,
type: 3}
propertyPath: m_Model
value:
objectReference: {fileID: 11400000, guid: 92ab7655c543b4bedb2982bb00ca6ba4,
type: 3}
objectReference: {fileID: 0}
- target: {fileID: 2508780962454810567, guid: 5878a6d7527854d0a84b133c7c6efe55,
type: 3}
propertyPath: m_IsActive
value: 1
objectReference: {fileID: 0}
- target: {fileID: 2509355368631227656, guid: 5878a6d7527854d0a84b133c7c6efe55,
type: 3}
propertyPath: m_LocalScale.y
value: 3.4470768
objectReference: {fileID: 0}
- target: {fileID: 2509355368631227656, guid: 5878a6d7527854d0a84b133c7c6efe55,
type: 3}
propertyPath: m_LocalPosition.y
value: 0.73
objectReference: {fileID: 0}
- target: {fileID: 2512227112770887927, guid: 5878a6d7527854d0a84b133c7c6efe55,
type: 3}

propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2602353229712812740, guid: 5878a6d7527854d0a84b133c7c6efe55,
type: 3}
propertyPath: m_Model
value:
objectReference: {fileID: 11400000, guid: 92ab7655c543b4bedb2982bb00ca6ba4,
type: 3}
- target: {fileID: 3087099381907266488, guid: 5878a6d7527854d0a84b133c7c6efe55,
type: 3}
propertyPath: m_Model
value:
objectReference: {fileID: 11400000, guid: 92ab7655c543b4bedb2982bb00ca6ba4,
type: 3}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 5878a6d7527854d0a84b133c7c6efe55, type: 3}
--- !u!4 &2529396237589241840

正在加载...
取消
保存