File size: 481 Bytes
41791c1 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MultiDisplayActivation : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
Debug.Log ("displays connected: " + Display.displays.Length);
for (int i = 0; i < Display.displays.Length; i++)
{
Display.displays[i].Activate();
}
}
// Update is called once per frame
void Update()
{
}
}
|