18 lines
424 B
C#
18 lines
424 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class RenderTexturesHandler : MonoBehaviour
|
|
{
|
|
[SerializeField] private RenderTexture _main;
|
|
[SerializeField] private RenderTexture _second;
|
|
|
|
private void Awake() {
|
|
_main.height = Screen.height;
|
|
_main.width = Screen.width;
|
|
|
|
_second.height = Screen.height;
|
|
_second.width = Screen.width;
|
|
}
|
|
}
|