浏览代码

Added starfield background to GameLogic prefab

/main/staging/minigame_staging
当前提交
27468666
共有 4 个文件被更改,包括 317 次插入117 次删除
  1. 191
      Assets/Prefabs/InGame/InGameLogic.prefab
  2. 152
      Assets/Scenes/game_edit.unity
  3. 84
      Assets/Prefabs/Icons/starfield_bg.prefab
  4. 7
      Assets/Prefabs/Icons/starfield_bg.prefab.meta

191
Assets/Prefabs/InGame/InGameLogic.prefab


- {fileID: 7668134686248305871}
- {fileID: 6532331214593598572}
- {fileID: 5289034077109495657}
- {fileID: 2065209174954282053}
- {fileID: 2147229024920060871}
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}

m_Component:
- component: {fileID: 6532331214593598572}
- component: {fileID: 8873025738981341763}
- component: {fileID: 4691462165956454740}
m_Layer: 0
m_Name: InGameCamera
m_TagString: Untagged

m_OcclusionCulling: 1
m_StereoConvergence: 10
m_StereoSeparation: 0.022
--- !u!114 &4691462165956454740
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 421060454917747513}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: a79441f348de89743a2939f4d699eac1, type: 3}
m_Name:
m_EditorClassIdentifier:
m_RenderShadows: 1
m_RequiresDepthTextureOption: 2
m_RequiresOpaqueTextureOption: 2
m_CameraType: 0
m_Cameras: []
m_RendererIndex: -1
m_VolumeLayerMask:
serializedVersion: 2
m_Bits: 1
m_VolumeTrigger: {fileID: 0}
m_RenderPostProcessing: 0
m_Antialiasing: 0
m_AntialiasingQuality: 2
m_StopNaN: 0
m_Dithering: 0
m_ClearDepth: 1
m_AllowXRRendering: 1
m_RequiresDepthTexture: 0
m_RequiresColorTexture: 0
m_Version: 2
--- !u!1 &1306704497370578788
GameObject:
m_ObjectHideFlags: 0

ConnectionData:
Address: 127.0.0.1
Port: 7777
--- !u!1 &9037969274592296795
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 2065209174954282053}
- component: {fileID: 7779105133668911589}
m_Layer: 0
m_Name: game_background
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &2065209174954282053
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 9037969274592296795}
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: 485451675458297819}
m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!212 &7779105133668911589
SpriteRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 9037969274592296795}
m_Enabled: 1
m_CastShadows: 0
m_ReceiveShadows: 0
m_DynamicOccludee: 1
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 0
m_RayTraceProcedural: 0
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_ReceiveGI: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_StitchLightmapSeams: 1
m_SelectedEditorRenderState: 0
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_Sprite: {fileID: 21300000, guid: c6ddb41af580a7547b406c0d3fc85fa0, type: 3}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_FlipX: 0
m_FlipY: 0
m_DrawMode: 0
m_Size: {x: 30.000002, y: 30.000002}
m_AdaptiveModeThreshold: 0.5
m_SpriteTileMode: 0
m_WasSpriteAssigned: 1
m_MaskInteraction: 0
m_SpriteSortPoint: 0
--- !u!1001 &6456065886967313787
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 485451675458297819}
m_Modifications:
- target: {fileID: 4923825120825374396, guid: 31760a2d7e68f6b4e8d6307d580bc605, type: 3}
propertyPath: m_RootOrder
value: 4
objectReference: {fileID: 0}
- target: {fileID: 4923825120825374396, guid: 31760a2d7e68f6b4e8d6307d580bc605, type: 3}
propertyPath: m_LocalScale.x
value: 30
objectReference: {fileID: 0}
- target: {fileID: 4923825120825374396, guid: 31760a2d7e68f6b4e8d6307d580bc605, type: 3}
propertyPath: m_LocalScale.y
value: 30
objectReference: {fileID: 0}
- target: {fileID: 4923825120825374396, guid: 31760a2d7e68f6b4e8d6307d580bc605, type: 3}
propertyPath: m_LocalScale.z
value: 30
objectReference: {fileID: 0}
- target: {fileID: 4923825120825374396, guid: 31760a2d7e68f6b4e8d6307d580bc605, type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4923825120825374396, guid: 31760a2d7e68f6b4e8d6307d580bc605, type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4923825120825374396, guid: 31760a2d7e68f6b4e8d6307d580bc605, type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4923825120825374396, guid: 31760a2d7e68f6b4e8d6307d580bc605, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 4923825120825374396, guid: 31760a2d7e68f6b4e8d6307d580bc605, type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4923825120825374396, guid: 31760a2d7e68f6b4e8d6307d580bc605, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4923825120825374396, guid: 31760a2d7e68f6b4e8d6307d580bc605, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4923825120825374396, guid: 31760a2d7e68f6b4e8d6307d580bc605, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4923825120825374396, guid: 31760a2d7e68f6b4e8d6307d580bc605, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4923825120825374396, guid: 31760a2d7e68f6b4e8d6307d580bc605, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4923825120825374398, guid: 31760a2d7e68f6b4e8d6307d580bc605, type: 3}
propertyPath: m_Name
value: starfield_bg
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 31760a2d7e68f6b4e8d6307d580bc605, type: 3}
--- !u!4 &2147229024920060871 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 4923825120825374396, guid: 31760a2d7e68f6b4e8d6307d580bc605, type: 3}
m_PrefabInstance: {fileID: 6456065886967313787}
m_PrefabAsset: {fileID: 0}

152
Assets/Scenes/game_edit.unity


debug:
m_Flags: 0
m_NavMeshData: {fileID: 0}
--- !u!1 &576569409
--- !u!1 &1873149719
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}

m_Component:
- component: {fileID: 576569411}
- component: {fileID: 576569410}
- component: {fileID: 1873149721}
- component: {fileID: 1873149720}
m_Name: starfield
m_Name: game_bg
--- !u!212 &576569410
--- !u!212 &1873149720
m_GameObject: {fileID: 576569409}
m_GameObject: {fileID: 1873149719}
m_Enabled: 1
m_CastShadows: 0
m_ReceiveShadows: 0

m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 9e042c67ed13b1d4bb962e484cbdce17, type: 2}
- {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0

m_LightmapParameters: {fileID: 0}
m_SortingLayerID: -1140844979
m_SortingLayer: 1
m_SortingOrder: 0
m_Sprite: {fileID: 7482667652216324306, guid: 48e93eef0688c4a259cb0eddcd8661f7, type: 3}
m_SortingOrder: 1
m_Sprite: {fileID: 21300000, guid: c6ddb41af580a7547b406c0d3fc85fa0, type: 3}
m_Size: {x: 1, y: 1}
m_Size: {x: 30.000002, y: 30.000002}
m_MaskInteraction: 1
m_MaskInteraction: 2
--- !u!4 &576569411
--- !u!4 &1873149721
m_GameObject: {fileID: 576569409}
m_GameObject: {fileID: 1873149719}
m_LocalPosition: {x: -2.9, y: -10, z: 0}
m_LocalScale: {x: 320, y: 320, z: 320}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 15, y: 15, z: 15}
m_RootOrder: 2
m_RootOrder: 0
--- !u!1001 &857560137
--- !u!1001 &4923825121324250879
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2

- target: {fileID: 3578890893640513556, guid: 5d205d7a89f9d0e4e855b6d790b8dbf7, type: 3}
propertyPath: m_Name
value: cold_prefab
objectReference: {fileID: 0}
- target: {fileID: 3799752217381366221, guid: 5d205d7a89f9d0e4e855b6d790b8dbf7, type: 3}
- target: {fileID: 4923825120825374396, guid: 31760a2d7e68f6b4e8d6307d580bc605, type: 3}
- target: {fileID: 3799752217381366221, guid: 5d205d7a89f9d0e4e855b6d790b8dbf7, type: 3}
- target: {fileID: 4923825120825374396, guid: 31760a2d7e68f6b4e8d6307d580bc605, type: 3}
value: -54.1
value: -2.9
- target: {fileID: 3799752217381366221, guid: 5d205d7a89f9d0e4e855b6d790b8dbf7, type: 3}
- target: {fileID: 4923825120825374396, guid: 31760a2d7e68f6b4e8d6307d580bc605, type: 3}
value: 68.1
value: -10
- target: {fileID: 3799752217381366221, guid: 5d205d7a89f9d0e4e855b6d790b8dbf7, type: 3}
- target: {fileID: 4923825120825374396, guid: 31760a2d7e68f6b4e8d6307d580bc605, type: 3}
- target: {fileID: 3799752217381366221, guid: 5d205d7a89f9d0e4e855b6d790b8dbf7, type: 3}
- target: {fileID: 4923825120825374396, guid: 31760a2d7e68f6b4e8d6307d580bc605, type: 3}
- target: {fileID: 3799752217381366221, guid: 5d205d7a89f9d0e4e855b6d790b8dbf7, type: 3}
- target: {fileID: 4923825120825374396, guid: 31760a2d7e68f6b4e8d6307d580bc605, type: 3}
- target: {fileID: 3799752217381366221, guid: 5d205d7a89f9d0e4e855b6d790b8dbf7, type: 3}
- target: {fileID: 4923825120825374396, guid: 31760a2d7e68f6b4e8d6307d580bc605, type: 3}
- target: {fileID: 3799752217381366221, guid: 5d205d7a89f9d0e4e855b6d790b8dbf7, type: 3}
- target: {fileID: 4923825120825374396, guid: 31760a2d7e68f6b4e8d6307d580bc605, type: 3}
- target: {fileID: 3799752217381366221, guid: 5d205d7a89f9d0e4e855b6d790b8dbf7, type: 3}
- target: {fileID: 4923825120825374396, guid: 31760a2d7e68f6b4e8d6307d580bc605, type: 3}
- target: {fileID: 3799752217381366221, guid: 5d205d7a89f9d0e4e855b6d790b8dbf7, type: 3}
- target: {fileID: 4923825120825374396, guid: 31760a2d7e68f6b4e8d6307d580bc605, type: 3}
- target: {fileID: 3799752217381366221, guid: 5d205d7a89f9d0e4e855b6d790b8dbf7, type: 3}
- target: {fileID: 4923825120825374396, guid: 31760a2d7e68f6b4e8d6307d580bc605, type: 3}
- target: {fileID: 4923825120825374398, guid: 31760a2d7e68f6b4e8d6307d580bc605, type: 3}
propertyPath: m_Name
value: starfield
objectReference: {fileID: 0}
m_SourcePrefab: {fileID: 100100000, guid: 5d205d7a89f9d0e4e855b6d790b8dbf7, type: 3}
--- !u!1 &1873149719
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1873149721}
- component: {fileID: 1873149720}
m_Layer: 0
m_Name: game_bg
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!212 &1873149720
SpriteRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1873149719}
m_Enabled: 1
m_CastShadows: 0
m_ReceiveShadows: 0
m_DynamicOccludee: 1
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 0
m_RayTraceProcedural: 0
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_ReceiveGI: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_StitchLightmapSeams: 1
m_SelectedEditorRenderState: 0
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: -1140844979
m_SortingLayer: 1
m_SortingOrder: 1
m_Sprite: {fileID: 21300000, guid: c6ddb41af580a7547b406c0d3fc85fa0, type: 3}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_FlipX: 0
m_FlipY: 0
m_DrawMode: 0
m_Size: {x: 30.000002, y: 30.000002}
m_AdaptiveModeThreshold: 0.5
m_SpriteTileMode: 0
m_WasSpriteAssigned: 1
m_MaskInteraction: 2
m_SpriteSortPoint: 0
--- !u!4 &1873149721
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1873149719}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 15, y: 15, z: 15}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_SourcePrefab: {fileID: 100100000, guid: 31760a2d7e68f6b4e8d6307d580bc605, type: 3}

84
Assets/Prefabs/Icons/starfield_bg.prefab


%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &4923825120825374398
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 4923825120825374396}
- component: {fileID: 4923825120825374397}
m_Layer: 0
m_Name: starfield_bg
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &4923825120825374396
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4923825120825374398}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -2.9, y: -10, z: 0}
m_LocalScale: {x: 320, y: 320, z: 320}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!212 &4923825120825374397
SpriteRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4923825120825374398}
m_Enabled: 1
m_CastShadows: 0
m_ReceiveShadows: 0
m_DynamicOccludee: 1
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 0
m_RayTraceProcedural: 0
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 9e042c67ed13b1d4bb962e484cbdce17, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_ReceiveGI: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_StitchLightmapSeams: 1
m_SelectedEditorRenderState: 0
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: -1140844979
m_SortingLayer: 1
m_SortingOrder: 0
m_Sprite: {fileID: 7482667652216324306, guid: 48e93eef0688c4a259cb0eddcd8661f7, type: 3}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_FlipX: 0
m_FlipY: 0
m_DrawMode: 0
m_Size: {x: 1, y: 1}
m_AdaptiveModeThreshold: 0.5
m_SpriteTileMode: 0
m_WasSpriteAssigned: 1
m_MaskInteraction: 1
m_SpriteSortPoint: 0

7
Assets/Prefabs/Icons/starfield_bg.prefab.meta


fileFormatVersion: 2
guid: 31760a2d7e68f6b4e8d6307d580bc605
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
正在加载...
取消
保存