From ad791e2112e0aba4693f56f87377b49be208205e Mon Sep 17 00:00:00 2001 From: CrispyPin Date: Tue, 13 Aug 2024 22:21:30 +0200 Subject: [PATCH] screenshot stuff --- Assets/editor_garbage/RT_1584.renderTexture | 40 +++++++++++++++++++ .../editor_garbage/RT_1584.renderTexture.meta | 8 ++++ Assets/test/TestProps.unity | 31 ++++++++------ 3 files changed, 67 insertions(+), 12 deletions(-) create mode 100644 Assets/editor_garbage/RT_1584.renderTexture create mode 100755 Assets/editor_garbage/RT_1584.renderTexture.meta diff --git a/Assets/editor_garbage/RT_1584.renderTexture b/Assets/editor_garbage/RT_1584.renderTexture new file mode 100644 index 0000000..3fe2e17 --- /dev/null +++ b/Assets/editor_garbage/RT_1584.renderTexture @@ -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 diff --git a/Assets/editor_garbage/RT_1584.renderTexture.meta b/Assets/editor_garbage/RT_1584.renderTexture.meta new file mode 100755 index 0000000..49d8d12 --- /dev/null +++ b/Assets/editor_garbage/RT_1584.renderTexture.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 29fd2068ad8a7c3d8b084978995e8ca3 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 8400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/test/TestProps.unity b/Assets/test/TestProps.unity index 2bb30ca..91f28e9 100644 --- a/Assets/test/TestProps.unity +++ b/Assets/test/TestProps.unity @@ -158,7 +158,7 @@ MonoBehaviour: m_EditorClassIdentifier: type: 3 objectId: bab5c804-640f-445c-90c5-fda732b56ca6 - randomNum: 62324497 + randomNum: 50739913 unityVersion: 2021.3.41f1 cckVersion: 3.10:132 --- !u!114 &97266995 @@ -1301,7 +1301,7 @@ GameObject: m_Component: - component: {fileID: 1500710834} - component: {fileID: 1500710833} - - component: {fileID: 1500710832} + - component: {fileID: 1500710835} m_Layer: 0 m_Name: Main Camera m_TagString: MainCamera @@ -1309,14 +1309,6 @@ GameObject: m_NavMeshLayer: 0 m_StaticEditorFlags: 0 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 Camera: m_ObjectHideFlags: 0 @@ -1368,13 +1360,28 @@ Transform: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1500710831} 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_ConstrainProportionsScale: 0 m_Children: [] m_Father: {fileID: 0} m_RootOrder: 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 GameObject: m_ObjectHideFlags: 0 @@ -1411,7 +1418,7 @@ MonoBehaviour: m_EditorClassIdentifier: type: 3 objectId: 55dfb9cd-3184-4c4f-bfd1-1412ce1aa79b - randomNum: 30099308 + randomNum: 63286940 unityVersion: 2021.3.41f1 cckVersion: 3.10:132 --- !u!114 &1557152371