Answers for "unity take screenshot"

0

unity take screenshot

using UnityEngine;// Generate a screenshot and save to disk with the name SomeLevel.png.public class ExampleScript : MonoBehaviour
{
    void OnMouseDown()
    {
        ScreenCapture.CaptureScreenshot("SomeLevel");
    }
}
Posted by: Guest on March-25-2021

Browse Popular Code Answers by Language