Files
Ultimate-Fishing-Simulator-…/Assets/Scripts/Assembly-CSharp/ScreenShot.cs
2026-03-04 09:37:33 +08:00

17 lines
241 B
C#

using UnityEngine;
public class ScreenShot : MonoBehaviour
{
private void Start()
{
}
private void Update()
{
if (Input.GetKey(KeyCode.Y))
{
ScreenCapture.CaptureScreenshot(Application.dataPath + "/MyscreenShot.png");
}
}
}