miduo_client/Assets/ztest/ztest.cs

22 lines
411 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class ztest : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
RawImage r = null;
Camera c = null;
c.targetTexture = r.texture as RenderTexture;
}
// Update is called once per frame
void Update()
{
}
}