截图脚本更新
This commit is contained in:
1 parent
2706aa5bf5
commit
06641aff2d
2 files changed
+19
-1
No files matched your search
@@ -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");
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user