Screen orientation question...

Is there a way to detect “if it’s tablet only allow landscape” “if it’s a phone only allow portrait”?

You can check your device screen resolution :

if (Screen.width == 1024 || Screen.width == 2048) { 

						//Do your stuff for //iPAD 1024*768 OR 2048*1536

} else if (Screen.width == 960) { 

						//Do your stuff for //iPOD & iPHONE 960*640

} else if (Screen.width == 1136) { //iPOD & iPHONE 1136*940

						//Do your stuff for //iPOD & iPHONE 1136*940
}

You can check your device orientation :

if (Input.deviceOrientation == DeviceOrientation.LandscapeLeft) {

//Do your stuff here...

}