using System.Collections; using System.Collections.Generic; using UnityEngine; public class DemoScript : MonoBehaviour { // Start is called before the first frame update void Start() { } private void OnGUI() { if (GUILayout.Button("╫ьм╪")) { LG_Utility.Screen.ScreenShoot.Shoot("d:\\test3.jpg"); LG_Utility.Screen.ScreenShoot.Shoot(Camera.main, new Rect(0, 0, 1920, 1024), "d:\\test4.jpg"); } } }