screenshot stuff

This commit is contained in:
Crispy 2024-08-13 22:21:30 +02:00
parent d8d13bbb80
commit ad791e2112
3 changed files with 67 additions and 12 deletions

View file

@ -0,0 +1,40 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!84 &8400000
RenderTexture:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: RT_1584
m_ImageContentsHash:
serializedVersion: 2
Hash: 00000000000000000000000000000000
m_ForcedFallbackFormat: 4
m_DownscaleFallback: 0
m_IsAlphaChannelOptional: 0
serializedVersion: 5
m_Width: 1584
m_Height: 1584
m_AntiAliasing: 1
m_MipCount: -1
m_DepthStencilFormat: 92
m_ColorFormat: 4
m_MipMap: 0
m_GenerateMips: 1
m_SRGB: 1
m_UseDynamicScale: 0
m_BindMS: 0
m_EnableCompatibleFormat: 1
m_EnableRandomWrite: 0
m_TextureSettings:
serializedVersion: 2
m_FilterMode: 1
m_Aniso: 0
m_MipBias: 0
m_WrapU: 1
m_WrapV: 1
m_WrapW: 1
m_Dimension: 2
m_VolumeDepth: 1
m_ShadowSamplingMode: 2

View file

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 29fd2068ad8a7c3d8b084978995e8ca3
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 8400000
userData:
assetBundleName:
assetBundleVariant:

View file

@ -158,7 +158,7 @@ MonoBehaviour:
m_EditorClassIdentifier: m_EditorClassIdentifier:
type: 3 type: 3
objectId: bab5c804-640f-445c-90c5-fda732b56ca6 objectId: bab5c804-640f-445c-90c5-fda732b56ca6
randomNum: 62324497 randomNum: 50739913
unityVersion: 2021.3.41f1 unityVersion: 2021.3.41f1
cckVersion: 3.10:132 cckVersion: 3.10:132
--- !u!114 &97266995 --- !u!114 &97266995
@ -1301,7 +1301,7 @@ GameObject:
m_Component: m_Component:
- component: {fileID: 1500710834} - component: {fileID: 1500710834}
- component: {fileID: 1500710833} - component: {fileID: 1500710833}
- component: {fileID: 1500710832} - component: {fileID: 1500710835}
m_Layer: 0 m_Layer: 0
m_Name: Main Camera m_Name: Main Camera
m_TagString: MainCamera m_TagString: MainCamera
@ -1309,14 +1309,6 @@ GameObject:
m_NavMeshLayer: 0 m_NavMeshLayer: 0
m_StaticEditorFlags: 0 m_StaticEditorFlags: 0
m_IsActive: 1 m_IsActive: 1
--- !u!81 &1500710832
AudioListener:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1500710831}
m_Enabled: 1
--- !u!20 &1500710833 --- !u!20 &1500710833
Camera: Camera:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -1368,13 +1360,28 @@ Transform:
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1500710831} m_GameObject: {fileID: 1500710831}
m_LocalRotation: {x: 0, y: 1, z: 0, w: 0} m_LocalRotation: {x: 0, y: 1, z: 0, w: 0}
m_LocalPosition: {x: 0.13, y: 0, z: 1} m_LocalPosition: {x: 0, y: 0, z: 1}
m_LocalScale: {x: 1, y: 1, z: 1} m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 0
m_Children: [] m_Children: []
m_Father: {fileID: 0} m_Father: {fileID: 0}
m_RootOrder: 0 m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 180, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 180, z: 0}
--- !u!114 &1500710835
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1500710831}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 4733ef1d4170fa3b383a26e80d5538e4, type: 3}
m_Name:
m_EditorClassIdentifier:
takeScreenshot: 1
filename: unity_screenshot.png
textureReference: {fileID: 8400000, guid: 29fd2068ad8a7c3d8b084978995e8ca3, type: 2}
--- !u!1 &1557152369 --- !u!1 &1557152369
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -1411,7 +1418,7 @@ MonoBehaviour:
m_EditorClassIdentifier: m_EditorClassIdentifier:
type: 3 type: 3
objectId: 55dfb9cd-3184-4c4f-bfd1-1412ce1aa79b objectId: 55dfb9cd-3184-4c4f-bfd1-1412ce1aa79b
randomNum: 30099308 randomNum: 63286940
unityVersion: 2021.3.41f1 unityVersion: 2021.3.41f1
cckVersion: 3.10:132 cckVersion: 3.10:132
--- !u!114 &1557152371 --- !u!114 &1557152371