less wrong display preference
This commit is contained in:
parent
f287485d93
commit
877107a935
3 changed files with 5 additions and 5 deletions
|
@ -2,8 +2,8 @@
|
|||
<manifest
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.dofdev.snake"
|
||||
android:versionCode="18"
|
||||
android:versionName="1.30"
|
||||
android:versionCode="19"
|
||||
android:versionName="1.31"
|
||||
android:installLocation="auto"
|
||||
>
|
||||
<uses-sdk android:minSdkVersion="29" android:targetSdkVersion="32" />
|
||||
|
|
|
@ -44,7 +44,7 @@ static class Arts
|
|||
{
|
||||
bool vr = Device.DisplayBlend == DisplayBlend.Opaque;
|
||||
// render hands if not in mixed reality
|
||||
Input.HandVisible(Handed.Max, vr);
|
||||
// Input.HandVisible(Handed.Max, vr);
|
||||
if (vr)
|
||||
{
|
||||
// background standin if no passthrough
|
||||
|
|
|
@ -15,7 +15,7 @@ class Program
|
|||
{
|
||||
appName = "snake",
|
||||
assetsFolder = "Assets",
|
||||
blendPreference = DisplayBlend.Blend,
|
||||
blendPreference = DisplayBlend.AnyTransparent,
|
||||
// overlayApp = true,
|
||||
// overlayPriority = 1,
|
||||
depthMode = DepthMode.D32,
|
||||
|
@ -29,7 +29,7 @@ class Program
|
|||
|
||||
Renderer.Scaling = 2;
|
||||
World.OcclusionEnabled = true;
|
||||
// Device.DisplayBlend = DisplayBlend.Blend;
|
||||
Device.DisplayBlend = DisplayBlend.AnyTransparent;
|
||||
Renderer.EnableSky = false;
|
||||
Renderer.ClearColor = new Color(0.0f, 0.0f, 0.0f, 0.0f);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue