CRESSim / data /Assets /Scripts /Common /MultiDisplayActivation.cs
introvoyz042's picture
Migrated from GitHub
41791c1 verified
Raw History Blame Contribute Delete
481 Bytes
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()
{
}
}