截图脚本更新

This commit is contained in:
Abin
2026-05-20 11:47:17 +08:00
parent 2706aa5bf5
commit 06641aff2d
2 changed files with 19 additions and 1 deletions
+12
View File
@@ -0,0 +1,12 @@
using UnityEditor;
using UnityEngine;
public class ScreenTest : MonoBehaviour
{
[MenuItem("Tools/snapshot")]
public static void ScreenShot()
{
ScreenCapture.CaptureScreenshot("Assets/Editor/snapshot.png");
}
}
+7 -1
View File
@@ -32,4 +32,10 @@ timeline中对TMP文本进行数字滚动
对当前对象的子Ani节点进行动画脚本
12.UIParticleSystem.cs
粒子ui化脚本
粒子ui化脚本
13.ScreenShotWindow.cs
用于3d场景截图
14.ScreenTest
用于显示截图