fix vertical screen bug.

This commit is contained in:
hecomi
2016-10-30 19:56:22 +09:00
parent 14cd67e0c6
commit dc6b8bc204
6 changed files with 15 additions and 0 deletions
@@ -55,6 +55,12 @@ public class Texture : MonoBehaviour
} else {
material_.DisableKeyword("INVERT_Y");
}
if (monitor.isVertical) {
material_.EnableKeyword("VERTICAL");
} else {
material_.DisableKeyword("VERTICAL");
}
}
}