截图脚本更新
This commit is contained in:
@@ -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");
|
||||
}
|
||||
}
|
||||
@@ -33,3 +33,9 @@ timeline中对TMP文本进行数字滚动
|
||||
|
||||
12.UIParticleSystem.cs
|
||||
粒子ui化脚本
|
||||
|
||||
13.ScreenShotWindow.cs
|
||||
用于3d场景截图
|
||||
|
||||
14.ScreenTest
|
||||
用于显示截图
|
||||
Reference in New Issue
Block a user