1
0
mirror of https://github.com/xiaopeng12138/MaiDXR.git synced 2024-11-24 03:50:10 +01:00

add head cube

This commit is contained in:
xpeng 2022-08-19 19:56:13 +02:00
parent f11ff3b604
commit ac4aa0cf1a
5 changed files with 148 additions and 1239 deletions

File diff suppressed because it is too large Load Diff

View File

@ -24,6 +24,7 @@ public class ButtonSettingManager : MonoBehaviour
public void OnValueChanged(int value)
{
Button.keyToPress = (VirtualKeyCode)Enum.GetValues(typeof(VirtualKeyCode)).GetValue(value);
JsonConfig.SetInt(gameObject.name, value);
}
void PopulateList()
{

View File

@ -4,12 +4,12 @@ using UnityEngine;
public class LightSettingManager : MonoBehaviour
{
public List<Light> Lights;
public List<GameObject> Lights;
public void OnStateChanges(bool isOn)
{
foreach (var light in Lights)
{
light.enabled = isOn;
light.SetActive(isOn);
}
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 58 KiB

After

Width:  |  Height:  |  Size: 609 KiB

View File

@ -16,11 +16,11 @@ PlayerSettings:
productName: MaiDXR
defaultCursor: {fileID: 0}
cursorHotspot: {x: 0, y: 0}
m_SplashScreenBackgroundColor: {r: 0.13725491, g: 0.12156863, b: 0.1254902, a: 1}
m_SplashScreenBackgroundColor: {r: 0, g: 0, b: 0, a: 1}
m_ShowUnitySplashScreen: 1
m_ShowUnitySplashLogo: 1
m_SplashScreenOverlayOpacity: 1
m_SplashScreenAnimation: 1
m_SplashScreenAnimation: 0
m_SplashScreenLogoStyle: 1
m_SplashScreenDrawMode: 0
m_SplashScreenBackgroundAnimationZoom: 1
@ -39,8 +39,11 @@ PlayerSettings:
y: 0
width: 1
height: 1
m_SplashScreenLogos: []
m_VirtualRealitySplashScreen: {fileID: 0}
m_SplashScreenLogos:
- logo: {fileID: 21300000, guid: 890ba16077e18d1489f032e5402b0791, type: 3}
duration: 2
m_VirtualRealitySplashScreen: {fileID: 2800000, guid: 890ba16077e18d1489f032e5402b0791,
type: 3}
m_HolographicTrackingLossScreen: {fileID: 0}
defaultScreenWidth: 1280
defaultScreenHeight: 720
@ -153,6 +156,13 @@ PlayerSettings:
- {fileID: 0}
- {fileID: 0}
- {fileID: 0}
- {fileID: 0}
- {fileID: 0}
- {fileID: 0}
- {fileID: 0}
- {fileID: 6536100391545742739, guid: 55d1ec7a4296de343b6d3bb6f9a19731, type: 2}
- {fileID: 0}
- {fileID: -6018045015233401694, guid: 3999ab811e936714280a476b3a032d86, type: 2}
metroInputSource: 0
wsaTransparentSwapchain: 0
m_HolographicPauseOnTrackingLoss: 1
@ -289,7 +299,7 @@ PlayerSettings:
- m_BuildTarget:
m_Icons:
- serializedVersion: 2
m_Icon: {fileID: 2800000, guid: 6dd179e4a4915ff4dbad17e272a693bf, type: 3}
m_Icon: {fileID: 2800000, guid: aa1429908081f71459c7c4a1c70c8813, type: 3}
m_Width: 128
m_Height: 128
m_Kind: 0