Skip to content

Instantly share code, notes, and snippets.

@tsubaki
Created December 18, 2015 14:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tsubaki/7ba8ebe2e427597cb882 to your computer and use it in GitHub Desktop.
Save tsubaki/7ba8ebe2e427597cb882 to your computer and use it in GitHub Desktop.
マルチディスプレイ
using UnityEngine;
using System.Collections;
public class StartMultiDisplay : MonoBehaviour {
void Start ()
{
int maxDisplayCount = 2;
for (int i=0; i<maxDisplayCount && i<Display.displays.Length; i++) {
Display.displays[i].Activate();
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment