30 lines
716 B
C#
30 lines
716 B
C#
/// <summary>
|
|
///********************************************************
|
|
/// 作者: DDG
|
|
/// 日期: 2024/10/22 13:26:48
|
|
/// 功能: 测试打包以后录视频的功能
|
|
///********************************************************
|
|
/// <summary>
|
|
|
|
using RenderHeads.Media.AVProMovieCapture;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class LuShiPin : MonoBehaviour
|
|
{
|
|
[SerializeField]
|
|
CaptureFromScreen cap;
|
|
private void Update()
|
|
{
|
|
//if (Input.GetKeyDown(KeyCode.A))
|
|
//{
|
|
// cap.StartCapture();
|
|
//}
|
|
//if (Input.GetKeyDown(KeyCode.B))
|
|
//{
|
|
// cap.StopCapture();
|
|
//}
|
|
}
|
|
}
|