├── Images ├── VR │ ├── Toolbox.VR_1.png │ ├── Toolbox.VR_OSVR.png │ ├── Toolbox.VR_OpenVR.png │ ├── Toolbox.VR_1.png.meta │ ├── Toolbox.VR_OSVR.png.meta │ └── Toolbox.VR_OpenVR.png.meta └── VR.meta ├── Translation ├── Resources │ ├── Translations │ │ ├── Texts.EN.txt │ │ ├── Texts.FR.txt │ │ ├── Texts.EN.txt.meta │ │ └── Texts.FR.txt.meta │ └── Translations.meta ├── README.md.meta ├── Resources.meta ├── TranslateText.cs.meta ├── Translation.cs.meta ├── TranslateText.cs ├── README.md └── Translation.cs ├── Legacy ├── Universal VR │ ├── Textures │ │ ├── uvr_stop.png │ │ ├── uvr_walk.png │ │ ├── uvr_icon_base.png │ │ ├── uvr_stop.png.meta │ │ ├── uvr_walk.png.meta │ │ └── uvr_icon_base.png.meta │ ├── LICENSE.meta │ ├── README.md.meta │ ├── Scene │ │ └── Demo.unity.meta │ ├── Materials │ │ ├── uvr_icon.mat.meta │ │ ├── uvr_stop.mat.meta │ │ ├── uvr_walk.mat.meta │ │ ├── uvr_icon.mat │ │ ├── uvr_stop.mat │ │ └── uvr_walk.mat │ ├── Prefabs │ │ ├── UVR Player.prefab.meta │ │ └── UVR Fixed Camera.prefab.meta │ ├── Scene.meta │ ├── Materials.meta │ ├── Prefabs.meta │ ├── Sources.meta │ ├── Textures.meta │ ├── Sources │ │ ├── Sensors.meta │ │ ├── Resources.meta │ │ ├── Resources │ │ │ ├── Shaders.meta │ │ │ └── Shaders │ │ │ │ ├── UVR_DistortionCorrection.shader.meta │ │ │ │ └── UVR_DistortionCorrection.shader │ │ ├── UVREye.cs.meta │ │ ├── UVRGaze.cs.meta │ │ ├── UVRController.cs.meta │ │ ├── UVRGazeUI.cs.meta │ │ ├── UVRManager.cs.meta │ │ ├── Sensors │ │ │ ├── UVRSensor.cs.meta │ │ │ ├── UVRGyroscope.cs.meta │ │ │ ├── UVRInclinometer.cs.meta │ │ │ ├── UVROrientationSensor.cs.meta │ │ │ ├── UVRSensor.cs │ │ │ ├── UVRGyroscope.cs │ │ │ └── UVRInclinometer.cs │ │ ├── UVRUserInterface.cs.meta │ │ ├── UVRDistortionCorrectionEffect.cs.meta │ │ ├── UVRUserInterface.cs │ │ ├── UVRGaze.cs │ │ └── UVRDistortionCorrectionEffect.cs │ ├── README.md │ ├── .gitignore │ └── LICENSE ├── Universal VR.meta ├── First Person Controller │ ├── README.md.meta │ ├── First Person Controller.prefab.meta │ ├── README.md │ ├── MouseLook.cs.meta │ ├── CharacterMotor.cs.meta │ ├── FPSInputController.cs.meta │ ├── FPSInputController.cs │ └── MouseLook.cs └── First Person Controller.meta ├── LICENSE.meta ├── README.md.meta ├── Messenger ├── README.md.meta ├── Messenger.cs.meta ├── BasicMessage.cs.meta ├── BasicMessage.cs ├── Messenger.cs └── README.md ├── UI.meta ├── CheatCode.meta ├── Editor.meta ├── Effects.meta ├── Graphics.meta ├── Images.meta ├── Legacy.meta ├── Messenger.meta ├── Player.meta ├── Scene.meta ├── Shaders.meta ├── Utils.meta ├── Controllers.meta ├── Pool System.meta ├── Translation.meta ├── Effects ├── Shaders.meta ├── Shaders │ └── CRT.shader.meta ├── CRTEffect.cs.meta └── CRTEffect.cs ├── Graphics ├── Materials.meta ├── Materials │ ├── Shaders.meta │ ├── Placeholder.meta │ ├── GUIOverlay.mat.meta │ ├── FX.meta │ ├── Shaders │ │ ├── UIOverlay.shader.meta │ │ ├── FadeBlack.shader.meta │ │ ├── FadeBlack.shader │ │ └── UIOverlay.shader │ ├── FadeBlackMat.mat.meta │ ├── FX │ │ ├── CustomLava.mat.meta │ │ ├── LavaRocks.mat.meta │ │ ├── LavaTrap.mat.meta │ │ ├── SmokeMat.mat.meta │ │ ├── GeyserInnerMat.mat.meta │ │ ├── GeyserOuterMat.mat.meta │ │ ├── LavaSubstance.mat.meta │ │ ├── ParticleTrail.mat.meta │ │ ├── SimpleSmokeMat.mat.meta │ │ ├── CustomLava.mat │ │ ├── LavaRocks.mat │ │ ├── SmokeMat.mat │ │ ├── LavaTrap.mat │ │ ├── LavaSubstance.mat │ │ ├── GeyserOuterMat.mat │ │ ├── ParticleTrail.mat │ │ ├── SimpleSmokeMat.mat │ │ └── GeyserInnerMat.mat │ ├── Placeholder │ │ ├── Bot.mat.meta │ │ ├── PH_Bullet.mat.meta │ │ ├── PH_ObjectMaterial.mat.meta │ │ ├── PH_WallMaterial.mat.meta │ │ ├── PH_WhiteMaterial.mat.meta │ │ ├── Target-Download-PNG.mat.meta │ │ ├── Bot.mat │ │ ├── Target-Download-PNG.mat │ │ ├── PH_Bullet.mat │ │ ├── PH_ObjectMaterial.mat │ │ ├── PH_WallMaterial.mat │ │ └── PH_WhiteMaterial.mat │ ├── FadeBlackMat.mat │ └── GUIOverlay.mat ├── GPUHelper.cs.meta ├── MeshMerger.cs.meta ├── ScreenFader.cs.meta ├── SwapMaterial.cs.meta ├── FogTransition.cs.meta ├── AutoMobileShaderSwitch.cs.meta ├── SimpleOclusionCulling.cs.meta ├── SwapMaterial.cs ├── MeshMerger.cs ├── FogTransition.cs └── GPUHelper.cs ├── Controllers ├── Six Degrees Of Freedom.meta ├── VR First Person Controller.meta ├── Six Degrees Of Freedom │ ├── SixDOFController.cs.meta │ └── SixDOFController.cs └── VR First Person Controller │ ├── FirstPersonController.cs.meta │ ├── SimpleAbstractRotator.cs.meta │ ├── SimpleHydraRotator.cs.meta │ ├── SimpleMouseRotator.cs.meta │ ├── SimpleMouseRotator.cs │ ├── SimpleHydraRotator.cs │ └── SimpleAbstractRotator.cs ├── Shaders ├── Plasma.shader.meta ├── LavaShader.shader.meta ├── LavaShader.shader └── Plasma.shader ├── UI ├── UIHelper.cs.meta ├── TranslateText.cs.meta ├── UIAlphaFade.cs.meta ├── UIFadePanel.cs.meta ├── UISliderColor.cs.meta ├── UISpinner.cs.meta ├── UIStatusColor.cs.meta ├── OpenLinkOnClick.cs.meta ├── PlaySoundOnClick.cs.meta ├── TypeWritterEffect.cs.meta ├── UIAnimateScale.cs.meta ├── UISelectorWidget.cs.meta ├── TranslateText.cs ├── OpenLinkOnClick.cs ├── PlaySoundOnClick.cs ├── UISliderColor.cs ├── UIAlphaFade.cs ├── UIAnimateScale.cs ├── UISpinner.cs ├── UIStatusColor.cs ├── UISelectorWidget.cs ├── UIFadePanel.cs ├── UIHelper.cs └── TypeWritterEffect.cs ├── Utils ├── SpawnPoint.cs.meta ├── UVScroller.cs.meta ├── AutoRotation.cs.meta ├── CoroutineHelper.cs.meta ├── ShakeEffect.cs.meta ├── SimpleTimer.cs.meta ├── TimeCounter.cs.meta ├── UnitInertia.cs.meta ├── LifeTimeParticle.cs.meta ├── ShootHighlighter.cs.meta ├── CoroutineHelper.cs ├── AutoRotation.cs ├── LifeTimeParticle.cs ├── ShakeEffect.cs ├── UVScroller.cs ├── SpawnPoint.cs ├── UnitInertia.cs ├── ShootHighlighter.cs └── SimpleTimer.cs ├── CheatCode ├── CheatCode.cs.meta ├── CheatCodeManager.cs.meta ├── CheatCode.cs └── CheatCodeManager.cs ├── Player └── SimplePlayer.cs.meta ├── Scene └── LevelManager.cs.meta ├── .gitignore ├── Editor ├── BuildManagerEditor.cs.meta ├── FontReplacerEditor.cs.meta ├── SwapPrefabEditor.cs.meta ├── TransformChangerEditor.cs.meta ├── FontReplacerEditor.cs ├── TransformChangerEditor.cs ├── SwapPrefabEditor.cs └── BuildManagerEditor.cs ├── Pool System └── PoolSystem.cs.meta ├── README.md └── LICENSE /Images/VR/Toolbox.VR_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/demonixis/Unity-toolbox/HEAD/Images/VR/Toolbox.VR_1.png -------------------------------------------------------------------------------- /Translation/Resources/Translations/Texts.EN.txt: -------------------------------------------------------------------------------- 1 | menu.play = Play 2 | menu.options = Options 3 | menu.exit = Exit -------------------------------------------------------------------------------- /Images/VR/Toolbox.VR_OSVR.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/demonixis/Unity-toolbox/HEAD/Images/VR/Toolbox.VR_OSVR.png -------------------------------------------------------------------------------- /Translation/Resources/Translations/Texts.FR.txt: -------------------------------------------------------------------------------- 1 | menu.play = Jouer 2 | menu.options = Options 3 | menu.exit = Quitter -------------------------------------------------------------------------------- /Images/VR/Toolbox.VR_OpenVR.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/demonixis/Unity-toolbox/HEAD/Images/VR/Toolbox.VR_OpenVR.png -------------------------------------------------------------------------------- /Legacy/Universal VR/Textures/uvr_stop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/demonixis/Unity-toolbox/HEAD/Legacy/Universal VR/Textures/uvr_stop.png -------------------------------------------------------------------------------- /Legacy/Universal VR/Textures/uvr_walk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/demonixis/Unity-toolbox/HEAD/Legacy/Universal VR/Textures/uvr_walk.png -------------------------------------------------------------------------------- /Legacy/Universal VR/Textures/uvr_icon_base.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/demonixis/Unity-toolbox/HEAD/Legacy/Universal VR/Textures/uvr_icon_base.png -------------------------------------------------------------------------------- /LICENSE.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: eb8c51a44e0757844a99198dce8e9c77 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /README.md.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 70cf29c369c75ff48a799b033cc2a8a1 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Messenger/README.md.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a417f23309880b149a3b6f23b404907d 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Translation/README.md.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ccf40f4953ea44141a0d2756360b2457 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /UI.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a4d8d2f9c63e3e34a8f029b5a5da6113 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /CheatCode.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 12b7a1f8636b25040a7b28ef343ed6a3 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9d8701a0444f88e49b783d23dec0289d 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Effects.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8d41bc4b42f7c8f45840519a77d51c3c 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Graphics.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 547a8520fc3de2840b2e93290169f2f4 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Images.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3791f3d43a6cdc845b879f8655c94715 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Images/VR.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bb1614ea40848a24f89f021019a3e694 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Legacy.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: afa0854392d3c5d48bc97c03bfd47c48 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Messenger.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a9554d93f45e12944b872c0915df8d37 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Player.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0d4bf756023b1ba41803ca245f2dc4fc 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Scene.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bd592155a621a5d41a2e7e93f8b48195 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Shaders.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4ba137b964f55aa4c926e6fdc41c923d 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Utils.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 66efe5535c2df8a409f09c0a99640feb 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Controllers.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0f691b687d2d2c14ca61776dc499a248 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Pool System.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 362f55256aac10a4e83133ef7ecea5d4 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Translation.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5a41a7f1bac3fed41bcfd6cbb876054e 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Effects/Shaders.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 16a72a7eaf3b5f54a9c1af229e9c0e6c 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Graphics/Materials.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 991197e6962aff741b7e86ea17ef129f 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Legacy/Universal VR.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ebc2bd96205923d4a99320a72e012d5b 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Legacy/First Person Controller/README.md.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 86844947d6ea835469fb47ea3a023a43 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Translation/Resources.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7fd2dc162ed14204eb0c94eef855d038 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Graphics/Materials/Shaders.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3a8efa9e909ab864ba43fafb256a9ee7 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Translation/Resources/Translations/Texts.EN.txt.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ea16977d23193d644b36d38356ad4a00 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Translation/Resources/Translations/Texts.FR.txt.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cf059d2f814bdaf4e930912eee617c2a 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Controllers/Six Degrees Of Freedom.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3ee78ee8088b8be41b7c858f11c8aec6 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Graphics/Materials/Placeholder.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 36f72e1258b184649a6d2eeacb32f99d 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Legacy/First Person Controller.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 37762fb6de8424f47a0067e3484b77eb 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Legacy/Universal VR/LICENSE.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1a4278680d4b4224781386cba8407389 3 | timeCreated: 1496469048 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Legacy/Universal VR/README.md.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b66c312d1328ef34f80a61617d51ea97 3 | timeCreated: 1496469048 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Translation/Resources/Translations.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 14567364037387a4c8f30a8e63f432f5 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Controllers/VR First Person Controller.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: dbe4533eb9aaab14ea7829345ffe3444 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Legacy/Universal VR/Scene/Demo.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f1e472e8edd29db4b96d233c23984744 3 | timeCreated: 1496469222 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Graphics/Materials/GUIOverlay.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3264d49bcc9a5994baec39653f84c21e 3 | timeCreated: 1433005859 4 | licenseType: Store 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Legacy/Universal VR/Materials/uvr_icon.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 55f7baa244d47dd488a8476ab3552222 3 | timeCreated: 1466499644 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Legacy/Universal VR/Materials/uvr_stop.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a68d0f289bb70e2409bf4ffc3625f84b 3 | timeCreated: 1466499644 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Legacy/Universal VR/Materials/uvr_walk.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 378cf41725bfa6548af0f374b06046a1 3 | timeCreated: 1466499644 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Legacy/Universal VR/Prefabs/UVR Player.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 88ec6e53585fa2548a42c8a8eda20335 3 | timeCreated: 1466499644 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Legacy/Universal VR/Prefabs/UVR Fixed Camera.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 45c82c3b90aac554db9d395a62c05e67 3 | timeCreated: 1466499644 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Legacy/Universal VR/Scene.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1850a52c2bc992c469c3c95e940c3755 3 | folderAsset: yes 4 | timeCreated: 1496469121 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Legacy/Universal VR/Materials.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e0b9a371532ba484daa5b82e76a3716b 3 | folderAsset: yes 4 | timeCreated: 1496469048 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Legacy/Universal VR/Prefabs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 814c100486300554d83b3dd84495542f 3 | folderAsset: yes 4 | timeCreated: 1496469048 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Legacy/Universal VR/Sources.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3116b2fb9c79d7a40af0c889f5e8f045 3 | folderAsset: yes 4 | timeCreated: 1496469048 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Legacy/Universal VR/Textures.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f7b94dd9ce50d5549939402b6f4d2cdb 3 | folderAsset: yes 4 | timeCreated: 1496469048 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Legacy/Universal VR/Sources/Sensors.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c422a2e313e600a44bc9f9be1a82308f 3 | folderAsset: yes 4 | timeCreated: 1466499642 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Shaders/Plasma.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 72e48c54632068244a3aa109c28a5a0d 3 | ShaderImporter: 4 | externalObjects: {} 5 | defaultTextures: [] 6 | nonModifiableTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Effects/Shaders/CRT.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 404c9838cd243cc44b76c923c0259c07 3 | ShaderImporter: 4 | externalObjects: {} 5 | defaultTextures: [] 6 | nonModifiableTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Legacy/First Person Controller/First Person Controller.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 614e090e5bbe07045a1b16de6832793f 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 0 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Legacy/Universal VR/Sources/Resources.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 87fc810d2f5d6494780de0b5ebb63043 3 | folderAsset: yes 4 | timeCreated: 1466499642 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Shaders/LavaShader.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ae1c3a3fa0a8ae646abfaccfde95a2d7 3 | ShaderImporter: 4 | externalObjects: {} 5 | defaultTextures: [] 6 | nonModifiableTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Legacy/Universal VR/Sources/Resources/Shaders.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ca2c20ea548c7064fbd59f020fe04b5e 3 | folderAsset: yes 4 | timeCreated: 1466499642 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Graphics/Materials/FX.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 97777e096d26add4a99080676c10299c 3 | folderAsset: yes 4 | timeCreated: 1521129076 5 | licenseType: Free 6 | DefaultImporter: 7 | externalObjects: {} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Graphics/Materials/Shaders/UIOverlay.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3955f306692091e40a7120f9c6ef104c 3 | timeCreated: 1433005821 4 | licenseType: Store 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Legacy/First Person Controller/README.md: -------------------------------------------------------------------------------- 1 | # First Person Controller 2 | 3 | This is the C# port of the "First Person Controller" scripts provided by Unity. All scripts has been optimized by adding cache to some components. 4 | 5 | The settings of the prefab are identical to the Stock version. -------------------------------------------------------------------------------- /Graphics/Materials/FadeBlackMat.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 17f52608c81dd7d41a2c4828226de972 3 | timeCreated: 1462915269 4 | licenseType: Free 5 | NativeFormatImporter: 6 | externalObjects: {} 7 | mainObjectFileID: 0 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Graphics/Materials/Shaders/FadeBlack.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4d334706e3b2e544aae77c62c55ab0ab 3 | timeCreated: 1462915173 4 | licenseType: Free 5 | ShaderImporter: 6 | externalObjects: {} 7 | defaultTextures: [] 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /UI/UIHelper.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4271903575b4c8f479764f8257bc02f6 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Graphics/Materials/FX/CustomLava.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4dab6aa36226aea4aa5ed679226b44c3 3 | timeCreated: 1522400704 4 | licenseType: Free 5 | NativeFormatImporter: 6 | externalObjects: {} 7 | mainObjectFileID: 2100000 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Graphics/Materials/FX/LavaRocks.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 09f961fb9385ab8459eb2d48d6542bad 3 | timeCreated: 1522424709 4 | licenseType: Free 5 | NativeFormatImporter: 6 | externalObjects: {} 7 | mainObjectFileID: 2100000 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Graphics/Materials/FX/LavaTrap.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0ad5930af57da4949bec7b392b4373dd 3 | timeCreated: 1522159007 4 | licenseType: Free 5 | NativeFormatImporter: 6 | externalObjects: {} 7 | mainObjectFileID: 2100000 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Graphics/Materials/FX/SmokeMat.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a8fb8861db5f22d46a11c65f2c2e640e 3 | timeCreated: 1521021244 4 | licenseType: Free 5 | NativeFormatImporter: 6 | externalObjects: {} 7 | mainObjectFileID: 2100000 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Graphics/Materials/Placeholder/Bot.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a3477c77e6ae4fb4a888cb1418ed4988 3 | timeCreated: 1516266229 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | externalObjects: {} 7 | mainObjectFileID: 2100000 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /UI/TranslateText.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 327bd84ce5b4db7479b0f75f79842eb7 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UI/UIAlphaFade.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a40ccacae7508bd488bf1a22af537457 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UI/UIFadePanel.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 098e800360510b84d9cb565c1f24f815 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UI/UISliderColor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b22a1890981e15f40977a883b9773d0f 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UI/UISpinner.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d01f58a77894828449343fe3184c092e 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UI/UIStatusColor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a7b0c8a9c9b4cfb4f9dcd187651d2b40 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Utils/SpawnPoint.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9394dbfe2237c1f42995ef178ee4b592 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Utils/UVScroller.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9b7f06c5a263c5b4583961c3d5a83c9e 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /CheatCode/CheatCode.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b57971e7a04bd7e40adf0b7a5a0a1f09 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Graphics/GPUHelper.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 665600380c853f1469c66b0fcc7ed816 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Graphics/Materials/FX/GeyserInnerMat.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a565214364acb554ab938247dc444e94 3 | timeCreated: 1521021244 4 | licenseType: Free 5 | NativeFormatImporter: 6 | externalObjects: {} 7 | mainObjectFileID: 2100000 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Graphics/Materials/FX/GeyserOuterMat.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 00edfea60263308469378b9e25940663 3 | timeCreated: 1521021244 4 | licenseType: Free 5 | NativeFormatImporter: 6 | externalObjects: {} 7 | mainObjectFileID: 2100000 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Graphics/Materials/FX/LavaSubstance.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7ab030336196e9a4cb2ff737916386f7 3 | timeCreated: 1522396652 4 | licenseType: Free 5 | NativeFormatImporter: 6 | externalObjects: {} 7 | mainObjectFileID: 2100000 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Graphics/Materials/FX/ParticleTrail.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1f8acba7c934cb64b90a0ed6f67159a1 3 | timeCreated: 1521214574 4 | licenseType: Free 5 | NativeFormatImporter: 6 | externalObjects: {} 7 | mainObjectFileID: 2100000 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Graphics/Materials/FX/SimpleSmokeMat.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 585e50927bd0ab54ca629280ec5e148c 3 | timeCreated: 1521021244 4 | licenseType: Free 5 | NativeFormatImporter: 6 | externalObjects: {} 7 | mainObjectFileID: 2100000 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Graphics/MeshMerger.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8d57e0c48d6bb274ea68a328093ffa9d 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Graphics/ScreenFader.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 67ae801956691dc4ca6c858739c89f6f 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Graphics/SwapMaterial.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 49fe882ca3cd1f14ebc0906e4bf1bf22 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Legacy/Universal VR/Sources/Resources/Shaders/UVR_DistortionCorrection.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bcb8bae1767d50f489ec8bd0fa87d816 3 | timeCreated: 1466499644 4 | licenseType: Free 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Messenger/Messenger.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1af0e24794d61304390d0ef7a80805cf 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Player/SimplePlayer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f7cfca7cb3ecdbe40addbc413aaa796c 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Scene/LevelManager.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a9877239a93aa9842a94ab20a3079a50 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UI/OpenLinkOnClick.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 314209b95033d6b4c9b7d958031f306d 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UI/PlaySoundOnClick.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d5a837482987fda44a96a0bf3a151904 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UI/TypeWritterEffect.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 91fab003120852d47a7bfc5187a63d05 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UI/UIAnimateScale.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ca8b4ce03fa3f1040ab6e86c22b4a75e 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UI/UISelectorWidget.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4da5c9f39e7589344aeb9dd4b08fcd8a 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Utils/AutoRotation.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9aee5c66cf811fc46a42de203dcd29ea 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Utils/CoroutineHelper.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 81dcb17c92bb32c4faa673fdc0527f9a 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Utils/ShakeEffect.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5c1822b84b68a0a478901d68ae578402 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Utils/SimpleTimer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: baaf8c6cdc36079419b5355594b1d952 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Utils/TimeCounter.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 17a288c76a2b11546a502075bc8f57c6 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Utils/UnitInertia.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 45d3147fbf2fe994fadd31cd27086504 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | [Ll]ibrary/ 2 | [Tt]emp/ 3 | [Oo]bj/ 4 | [Bb]uild/ 5 | 6 | # Autogenerated VS/MD solution and project files 7 | /*.csproj 8 | /*.unityproj 9 | /*.sln 10 | /*.suo 11 | /*.user 12 | /*.userprefs 13 | /*.pidb 14 | /*.booproj 15 | .DS_Store 16 | 17 | #Unity3D Generated File On Crash Reports 18 | sysinfo.txt 19 | -------------------------------------------------------------------------------- /CheatCode/CheatCodeManager.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1619571debd5b6a4e9d7e08a69c100d8 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Editor/BuildManagerEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9f33a6dae363dfb42a09b8914128adf8 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Editor/FontReplacerEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 59a22bcfcb6e5b34a894ceddcdc2ce1f 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Editor/SwapPrefabEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b910e2a14343f974faae31ceb74930e2 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Graphics/FogTransition.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6a296a3000f5a714d98f5415f8c74238 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Graphics/Materials/Placeholder/PH_Bullet.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 43f25fd7109ed0b48a8481844bfa310d 3 | timeCreated: 1512039528 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | externalObjects: {} 7 | mainObjectFileID: 2100000 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Messenger/BasicMessage.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e36d53065e1f2b645972a1ac6774b62f 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Pool System/PoolSystem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 490a77b72fd669644bc535474a572e32 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Translation/TranslateText.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: da1bc088c65f4be40b50547e5eaa5f8f 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Translation/Translation.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cce4e4311d76f9646b536950ebf546b6 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Utils/LifeTimeParticle.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 09619010add56244e87bd382293b842b 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Utils/ShootHighlighter.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e92ba88416b514c408cae2283a8097fc 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Editor/TransformChangerEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8b876e4d3922f574e8d91c438c1df1c6 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Graphics/AutoMobileShaderSwitch.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 221a3ea6289668349961f8756c94fd67 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Graphics/Materials/Placeholder/PH_ObjectMaterial.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 78ff54a8854b7b042b31dfa5a60eb6f0 3 | timeCreated: 1512039528 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | externalObjects: {} 7 | mainObjectFileID: 2100000 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Graphics/Materials/Placeholder/PH_WallMaterial.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9e64b0fb64c2e38458eb39cf79cc5e58 3 | timeCreated: 1512039528 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | externalObjects: {} 7 | mainObjectFileID: 2100000 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Graphics/Materials/Placeholder/PH_WhiteMaterial.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c1abb2a77fa21f248b19ebd2f9958864 3 | timeCreated: 1512039528 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | externalObjects: {} 7 | mainObjectFileID: 2100000 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Graphics/SimpleOclusionCulling.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2735ca67722c7dc4daec2afad9855d5f 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Graphics/Materials/Placeholder/Target-Download-PNG.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 462a8131d8d6f7c4796f57eefebad470 3 | timeCreated: 1516266229 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | externalObjects: {} 7 | mainObjectFileID: 2100000 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Legacy/Universal VR/README.md: -------------------------------------------------------------------------------- 1 | # UniversalVR 2 | 3 | A Virtual Reality toolkit for Unity designed to work with Android, Windows Phone and iOS. 4 | 5 | ## License 6 | 7 | Universal VR is licensed under the MIT license. The terms of the MIT license are included in the [LICENSE](https://github.com/Robmaister/SharpNav/blob/master/LICENSE) file. -------------------------------------------------------------------------------- /Legacy/First Person Controller/MouseLook.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 49cf9595aa358834dbb7f350bf1123cf 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Legacy/First Person Controller/CharacterMotor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d0701056ca55a1948835f71cd5db368a 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Controllers/Six Degrees Of Freedom/SixDOFController.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c5824120f5f3b9343828bfbf8159369a 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Legacy/First Person Controller/FPSInputController.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7cf85cb345bdf03469385f3e9e00aab3 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Controllers/VR First Person Controller/FirstPersonController.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 09e974f3c695a1548856c4568b71ba27 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Controllers/VR First Person Controller/SimpleAbstractRotator.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c2f33fc75b16539489578e436aed5f99 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Controllers/VR First Person Controller/SimpleHydraRotator.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 830efec3d224204458a9028f341d751c 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Controllers/VR First Person Controller/SimpleMouseRotator.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2adfe9639b2bdd441b39e67a605dff42 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Legacy/Universal VR/Sources/UVREye.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2488ac4dc55ab9a4382c7ff6394050af 3 | timeCreated: 1466499642 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Legacy/Universal VR/Sources/UVRGaze.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ebe94c9ee4bd47748b4a338cb921ec98 3 | timeCreated: 1466499643 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Legacy/Universal VR/Sources/UVRController.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: db368fad85543054180b7e2b7d1953f0 3 | timeCreated: 1466499643 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Legacy/Universal VR/Sources/UVRGazeUI.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e5c84c5f110bf3942a4abfed109cfd9f 3 | timeCreated: 1466499643 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Legacy/Universal VR/Sources/UVRManager.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4f96eea65aa8b354b9265b38542341a1 3 | timeCreated: 1466499642 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Legacy/Universal VR/Sources/Sensors/UVRSensor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 476d8c757cc764a449904a4e2b2768d2 3 | timeCreated: 1466499642 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Legacy/Universal VR/Sources/UVRUserInterface.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3d833eb34402ed84ea118250ccc3b1c1 3 | timeCreated: 1466499642 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Legacy/Universal VR/Sources/Sensors/UVRGyroscope.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 44209ff83fb55214d961f4cd0e9d48fe 3 | timeCreated: 1466499642 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Legacy/Universal VR/Sources/Sensors/UVRInclinometer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cff9f01fcb0285349982f12afd90613f 3 | timeCreated: 1466499643 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Legacy/Universal VR/Sources/Sensors/UVROrientationSensor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4443d122c5d765f4aa493930ee06c04a 3 | timeCreated: 1466499642 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Legacy/Universal VR/Sources/UVRDistortionCorrectionEffect.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2e2641ecd600536458e48644a9b76e07 3 | timeCreated: 1466499642 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Legacy/Universal VR/.gitignore: -------------------------------------------------------------------------------- 1 | [Ll]ibrary/ 2 | [Tt]emp/ 3 | [Oo]bj/ 4 | [Bb]uild/ 5 | 6 | # Autogenerated VS/MD solution and project files 7 | *.csproj 8 | *.unityproj 9 | *.sln 10 | *.suo 11 | *.tmp 12 | *.user 13 | *.userprefs 14 | *.pidb 15 | *.booproj 16 | 17 | # Unity3D generated meta files 18 | *.pidb.meta 19 | 20 | # Unity3D Generated File On Crash Reports 21 | sysinfo.txt 22 | -------------------------------------------------------------------------------- /Effects/CRTEffect.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e3b85ff08e808024198b2c5c1dc4c415 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: 7 | - m_Shader: {fileID: 4800000, guid: 404c9838cd243cc44b76c923c0259c07, type: 3} 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Translation/TranslateText.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using UnityEngine.UI; 3 | 4 | [RequireComponent(typeof(Text))] 5 | public sealed class TranslateText : MonoBehaviour 6 | { 7 | public string key; 8 | 9 | void Start() 10 | { 11 | var text = GetComponent(typeof(Text)) as Text; 12 | text.text = Translation.Get(key != string.Empty ? key : text.text); 13 | 14 | Destroy(this); 15 | } 16 | } 17 | 18 | -------------------------------------------------------------------------------- /Utils/CoroutineHelper.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using UnityEngine; 3 | 4 | namespace Demonixis.Toolbox.Utils 5 | { 6 | public static class CoroutineHelper 7 | { 8 | public static IEnumerator UnscaledWaitForSeconds(float time) 9 | { 10 | var start = Time.realtimeSinceStartup; 11 | while (Time.realtimeSinceStartup < start + time) 12 | yield return null; 13 | } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /UI/TranslateText.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using UnityEngine.UI; 3 | 4 | namespace Demonixis.Toolbox.UI 5 | { 6 | [RequireComponent(typeof(Text))] 7 | public sealed class TranslateText : MonoBehaviour 8 | { 9 | public string key; 10 | 11 | void Start() 12 | { 13 | var text = GetComponent(typeof(Text)) as Text; 14 | text.text = Translation.Get(key != string.Empty ? key : text.text); 15 | Destroy(this); 16 | } 17 | } 18 | } -------------------------------------------------------------------------------- /Utils/AutoRotation.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | namespace UnityToolbox.Utils 4 | { 5 | public sealed class AutoRotation : MonoBehaviour 6 | { 7 | private Transform _transform; 8 | public Vector3 axis = Vector3.up; 9 | public float speed = 25.0f; 10 | 11 | void Start() 12 | { 13 | _transform = GetComponent(typeof(Transform)) as Transform; 14 | } 15 | 16 | void Update() 17 | { 18 | _transform.Rotate(axis, Time.deltaTime * speed); 19 | } 20 | } 21 | } -------------------------------------------------------------------------------- /Legacy/Universal VR/Sources/Sensors/UVRSensor.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | namespace Demonixis.VR.Sensors 4 | { 5 | public enum SensorType 6 | { 7 | Auto, Orientation, Inclinometer, Gyroscope 8 | } 9 | 10 | public class UVRSensor : MonoBehaviour 11 | { 12 | protected Vector3 mOriginalRotation = new Vector3(90.0f, 0.0f, 0.0f); 13 | 14 | public Vector3 OriginalRotation 15 | { 16 | get { return mOriginalRotation; } 17 | } 18 | 19 | public virtual void GetRotation(ref Quaternion quaternion) 20 | { 21 | } 22 | } 23 | } -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | Demonixis' Toolbox 2 | ======================== 3 | 4 | The Demonixis' Toolbox is a collection of useful scripts for Unity 3D. 5 | 6 | - Cheatcode manager 7 | - Controllers 8 | - Editor utilities 9 | - Effects 10 | - Graphics 11 | - Messenger system 12 | - Pool system 13 | - Scene management 14 | - Translation 15 | - UI 16 | - Utilities 17 | 18 | ## Games using this toolkit 19 | 20 | - [M.A.R.S. Extraction](demonixis.itch.io/mars-extraction) 21 | - [Mythgreen VR](https://demonixis.itch.io/mythgreen-vr) 22 | - [The Lost Maze](https://demonixis.itch.io/the-lost-maze) 23 | 24 | ## Licence 25 | MIT Licence - take a look at the LICENSE file for more informations. 26 | 27 | -------------------------------------------------------------------------------- /UI/OpenLinkOnClick.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using UnityEngine.UI; 3 | 4 | namespace Demonixis.Toolbox.UI 5 | { 6 | [RequireComponent(typeof(Button))] 7 | public sealed class OpenLinkOnClick : MonoBehaviour 8 | { 9 | private Button _button; 10 | public string url; 11 | 12 | void Start() 13 | { 14 | _button = GetComponent(typeof(Button)) as Button; 15 | _button.onClick.AddListener(OpenURL); 16 | } 17 | 18 | void OnDestroy() 19 | { 20 | if (_button != null) 21 | _button.onClick.RemoveListener(OpenURL); 22 | } 23 | 24 | public void OpenURL() 25 | { 26 | Application.OpenURL(url); 27 | } 28 | } 29 | } -------------------------------------------------------------------------------- /Translation/README.md: -------------------------------------------------------------------------------- 1 | # Translation system 2 | 3 | ### Translation system 4 | 5 | By default, you must create the following hierarchie in your asset folder: 6 | 7 | * Resources/Translations/Texts.EN.txt 8 | * Resources/Translations/Texts.FR.txt 9 | 10 | Of course you can change that by adapting it to your needs. Don't forget to change the value of the `AvailableLanguages` constante. 11 | 12 | Using it 13 | ======== 14 | 15 | ```csharp 16 | var hello = Translation.Get("Hello"); 17 | ``` 18 | 19 | ### Translate UI elements 20 | 21 | The `TranslateText` script must be used on a GameObject that has a `UnityEngine.UI.Text` component. 22 | You just have to specify the desired key. If the field is empty, the component will try to translate the value of the text contained by the `text` property. -------------------------------------------------------------------------------- /Utils/LifeTimeParticle.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | public sealed class LifeTimeParticle : MonoBehaviour 4 | { 5 | private float _elapsedTime = 0; 6 | private float lifeTime = 2.5f; 7 | public bool disable = false; 8 | 9 | void Start() 10 | { 11 | var particle = GetComponent(typeof(ParticleSystem)) as ParticleSystem; 12 | lifeTime = particle.duration; 13 | } 14 | 15 | void Update() 16 | { 17 | _elapsedTime += Time.deltaTime; 18 | 19 | if (_elapsedTime >= lifeTime) 20 | { 21 | if (disable) 22 | { 23 | _elapsedTime = 0; 24 | gameObject.SetActive(false); 25 | } 26 | else 27 | Destroy(gameObject); 28 | } 29 | } 30 | } 31 | 32 | -------------------------------------------------------------------------------- /Legacy/Universal VR/Sources/UVRUserInterface.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | namespace Demonixis.VR 4 | { 5 | [RequireComponent(typeof(Canvas))] 6 | public class UVRUserInterface : MonoBehaviour 7 | { 8 | private RectTransform _rectTransform; 9 | public int size = 600; 10 | 11 | void Start() 12 | { 13 | var cam = UVRManager.SDK.GetComponentInChildren(); 14 | 15 | _rectTransform = GetComponent(); 16 | _rectTransform.localScale.Set(0.02f, 0.02f, 0.02f); 17 | _rectTransform.SetSizeWithCurrentAnchors(RectTransform.Axis.Horizontal, size); 18 | _rectTransform.SetSizeWithCurrentAnchors(RectTransform.Axis.Vertical, size); 19 | _rectTransform.position = new Vector3(0.0f, cam.transform.position.y, (float)size / 1000.0f); 20 | } 21 | } 22 | } -------------------------------------------------------------------------------- /Editor/FontReplacerEditor.cs: -------------------------------------------------------------------------------- 1 | #if UNITY_EDITOR 2 | using UnityEditor; 3 | using UnityEngine; 4 | using UnityEngine.UI; 5 | 6 | public class FontReplacerEditor : EditorWindow 7 | { 8 | private Font _replacer; 9 | 10 | [MenuItem("Demonixis/Font Replacer")] 11 | public static void ShowWindow() 12 | { 13 | GetWindow(typeof(FontReplacerEditor)); 14 | } 15 | 16 | void OnGUI() 17 | { 18 | GUILayout.Label("Desired Font", EditorStyles.boldLabel); 19 | 20 | _replacer = EditorGUILayout.ObjectField("Font", _replacer, typeof(Font), true) as Font; 21 | 22 | if (GUILayout.Button("Replace")) 23 | { 24 | var fonts = FindObjectsOfType(); 25 | foreach (var font in fonts) 26 | font.font = _replacer; 27 | 28 | Debug.Log(fonts.Length + " fonts replaced"); 29 | } 30 | } 31 | } 32 | #endif -------------------------------------------------------------------------------- /CheatCode/CheatCode.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using UnityEngine; 3 | 4 | public class CheatCode : MonoBehaviour 5 | { 6 | private int _index = 0; 7 | public string[] Code { get; set; } 8 | public string Description { get; set; } 9 | public Action SuccessCallback { get; set; } 10 | public bool DestroyAfterUnlock = true; 11 | 12 | void Update() 13 | { 14 | if (_index > -1) 15 | { 16 | if (Input.anyKeyDown) 17 | { 18 | if (Input.GetKeyDown(Code[_index].ToLower())) 19 | _index++; 20 | else 21 | _index = 0; 22 | } 23 | 24 | if (_index == Code.Length) 25 | { 26 | SuccessCallback(); 27 | 28 | if (DestroyAfterUnlock) 29 | Destroy(this); 30 | else 31 | _index = 0; 32 | } 33 | } 34 | } 35 | } -------------------------------------------------------------------------------- /Utils/ShakeEffect.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System.Collections; 3 | 4 | public class ShakeEffect : MonoBehaviour 5 | { 6 | public Transform target; 7 | public float shake = 2.5f; 8 | public float shakeAmount = 0.7f; 9 | public float decreaseFactor = 1.0f; 10 | public bool removeAfterEnd = false; 11 | private Vector3 initialLocalPosition; 12 | 13 | void Start() 14 | { 15 | if (target == null) 16 | { 17 | target = Camera.main.transform; 18 | initialLocalPosition = target.localPosition; 19 | } 20 | } 21 | 22 | void Update() 23 | { 24 | if (shake > 0.0f) 25 | { 26 | target.localPosition = Random.insideUnitSphere * shakeAmount; 27 | shake -= Time.deltaTime * decreaseFactor; 28 | 29 | if (shake <= 0.0f) 30 | { 31 | shake = 0.0f; 32 | target.localPosition = initialLocalPosition; 33 | 34 | if (removeAfterEnd) 35 | Destroy(this); 36 | } 37 | } 38 | } 39 | } -------------------------------------------------------------------------------- /Controllers/VR First Person Controller/SimpleMouseRotator.cs: -------------------------------------------------------------------------------- 1 | #define USE_INCONTROL_ 2 | #if USE_INCONTROL 3 | using System; 4 | using InControl; 5 | #else 6 | using UnityEngine; 7 | #endif 8 | 9 | namespace Demonixis.Toolbox.Controllers 10 | { 11 | /// 12 | /// SimpleMouseRotator: Easily turn an object on X/Y axis. 13 | /// It's a fork of the Unity's version of SimpleMouseRotator. 14 | /// 15 | public sealed class SimpleMouseRotator : SimpleAbstractRotator 16 | { 17 | protected override void UpdateInput(ref float horizontal, ref float vertical) 18 | { 19 | #if USE_INCONTROL 20 | var device = InputManager.ActiveDevice; 21 | horizontal = device.RightStickX * _sensibilityX; 22 | vertical = device.RightStickY * _sensibilityY; 23 | #else 24 | horizontal = Input.GetAxis("Mouse X") * _sensibilityX; 25 | vertical = Input.GetAxis("Mouse Y") * _sensibilityY; 26 | #endif 27 | } 28 | } 29 | } -------------------------------------------------------------------------------- /Editor/TransformChangerEditor.cs: -------------------------------------------------------------------------------- 1 | #if UNITY_EDITOR 2 | using UnityEditor; 3 | using UnityEngine; 4 | 5 | public class TransformChangerEditor : EditorWindow 6 | { 7 | private GameObject _group; 8 | private float _ratio; 9 | 10 | [MenuItem("Demonixis/Transform Changer")] 11 | public static void ShowWindow() 12 | { 13 | GetWindow(typeof(TransformChangerEditor)); 14 | } 15 | 16 | void OnGUI() 17 | { 18 | GUILayout.Label("Swap", EditorStyles.boldLabel); 19 | 20 | _group = EditorGUILayout.ObjectField("Group", _group, typeof(GameObject), true) as GameObject; 21 | _ratio = EditorGUILayout.FloatField("Ratio", _ratio); 22 | 23 | if (GUILayout.Button("Apply")) 24 | { 25 | var groupTransform = _group.transform; 26 | foreach (Transform tr in groupTransform) 27 | tr.position = new Vector3(tr.position.x * _ratio, tr.position.y * _ratio, tr.position.z * _ratio); 28 | } 29 | } 30 | } 31 | #endif -------------------------------------------------------------------------------- /Utils/UVScroller.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | namespace UnityToolbox.Utils 4 | { 5 | public sealed class UVScroller : MonoBehaviour 6 | { 7 | public Vector2 scrollSpeed = new Vector2(0.5f, 0.5f); 8 | public Material material; 9 | public bool useSharedMaterial = true; 10 | private Vector2 _offset = Vector2.zero; 11 | private float _elapsedTime = 0; 12 | 13 | void Start() 14 | { 15 | if (material == null) 16 | { 17 | var renderer = (Renderer)GetComponent(typeof(Renderer)); 18 | material = useSharedMaterial ? renderer.sharedMaterial : renderer.material; 19 | } 20 | } 21 | 22 | void Update() 23 | { 24 | _elapsedTime += Time.deltaTime; 25 | _offset.x = _elapsedTime * scrollSpeed.x; 26 | _offset.y = _elapsedTime * scrollSpeed.y; 27 | material.SetTextureOffset("_MainTex", _offset); 28 | } 29 | } 30 | } -------------------------------------------------------------------------------- /Graphics/SwapMaterial.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using UnityEngine; 3 | 4 | namespace Demonixis.Toolbox.Graphics 5 | { 6 | [RequireComponent(typeof(Renderer))] 7 | public sealed class SwapMaterial : MonoBehaviour 8 | { 9 | [SerializeField] 10 | private Material m_material = null; 11 | 12 | [SerializeField] 13 | private int materialIndex = -1; 14 | 15 | void Start() 16 | { 17 | #if UNITY_ANDROID 18 | StartCoroutine(Swap()); 19 | #else 20 | Destroy(this); 21 | #endif 22 | } 23 | 24 | IEnumerator Swap() 25 | { 26 | yield return new WaitForEndOfFrame(); 27 | 28 | var renderer = (Renderer)GetComponent(typeof(Renderer)); 29 | 30 | if (materialIndex == -1) 31 | renderer.sharedMaterial = m_material; 32 | else 33 | renderer.sharedMaterials[materialIndex] = m_material; 34 | 35 | Destroy(this); 36 | } 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /Legacy/Universal VR/Sources/Sensors/UVRGyroscope.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | namespace Demonixis.VR.Sensors 4 | { 5 | public class UVRGyroscope : UVRSensor 6 | { 7 | private Vector3 _rotation; 8 | private Gyroscope _gyro; 9 | 10 | public static bool IsAvailable 11 | { 12 | get { return SystemInfo.supportsGyroscope; } 13 | } 14 | 15 | void Start() 16 | { 17 | _gyro = Input.gyro; 18 | _gyro.enabled = true; 19 | } 20 | 21 | void OnEnabled() 22 | { 23 | Input.gyro.enabled = true; 24 | } 25 | 26 | void OnDisabled() 27 | { 28 | Input.gyro.enabled = false; 29 | } 30 | 31 | public override void GetRotation(ref Quaternion quaternion) 32 | { 33 | quaternion = _gyro.attitude; 34 | _rotation = quaternion.eulerAngles; 35 | _rotation.z += 180.0f; 36 | quaternion.eulerAngles = _rotation; 37 | } 38 | } 39 | } -------------------------------------------------------------------------------- /Graphics/Materials/Shaders/FadeBlack.shader: -------------------------------------------------------------------------------- 1 | // Upgrade NOTE: replaced 'mul(UNITY_MATRIX_MVP,*)' with 'UnityObjectToClipPos(*)' 2 | 3 | Shader "Custom/FadeBlack" 4 | { 5 | Properties 6 | { 7 | _Fade ("Fade", Float) = 0.5 8 | } 9 | SubShader 10 | { 11 | Tags{ "Queue" = "Overlay" "IgnoreProjector" = "True" "RenderType" = "Transparent" } 12 | 13 | Blend SrcAlpha OneMinusSrcAlpha 14 | ZTest Always 15 | ZWrite Off 16 | 17 | Pass 18 | { 19 | CGPROGRAM 20 | #pragma vertex vert 21 | #pragma fragment frag 22 | 23 | #include "UnityCG.cginc" 24 | 25 | struct appdata 26 | { 27 | float4 vertex : POSITION; 28 | }; 29 | 30 | struct v2f 31 | { 32 | float4 vertex : SV_POSITION; 33 | }; 34 | 35 | uniform fixed _Fade; 36 | 37 | v2f vert (appdata v) 38 | { 39 | v2f o; 40 | o.vertex = UnityObjectToClipPos(v.vertex); 41 | return o; 42 | } 43 | 44 | fixed4 frag (v2f i) : SV_Target 45 | { 46 | return fixed4(0,0,0,_Fade); 47 | } 48 | ENDCG 49 | } 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /UI/PlaySoundOnClick.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using UnityEngine.UI; 3 | 4 | namespace Demonixis.Toolbox.UI 5 | { 6 | [RequireComponent(typeof(Button))] 7 | public sealed class PlaySoundOnClick : MonoBehaviour 8 | { 9 | private Button _button; 10 | private AudioSource _audio; 11 | public AudioClip sound; 12 | 13 | void Start() 14 | { 15 | if (Camera.main != null) 16 | { 17 | _audio = Camera.main.GetComponent(typeof(AudioSource)) as AudioSource; 18 | if (_audio == null) 19 | _audio = (AudioSource)Camera.main.gameObject.AddComponent(typeof(AudioSource)); 20 | } 21 | 22 | _button = GetComponent(typeof(Button)) as Button; 23 | _button.onClick.AddListener(PlaySound); 24 | } 25 | 26 | private void PlaySound() 27 | { 28 | if (_audio == null) 29 | AudioSource.PlayClipAtPoint(sound, Vector3.zero); 30 | else 31 | _audio.PlayOneShot(sound); 32 | } 33 | } 34 | } -------------------------------------------------------------------------------- /Messenger/BasicMessage.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using UnityEngine; 3 | 4 | public class BasicMessage 5 | { 6 | public static BasicMessage Empty 7 | { 8 | get { return new BasicMessage(); } 9 | } 10 | 11 | public string Message { get; set; } 12 | 13 | public BasicMessage() 14 | { 15 | Message = string.Empty; 16 | } 17 | 18 | public BasicMessage(string message) 19 | { 20 | Message = message; 21 | } 22 | } 23 | 24 | public class GenericMessage : BasicMessage 25 | { 26 | public T Value { get; set; } 27 | 28 | public GenericMessage(T value) 29 | { 30 | Value = value; 31 | } 32 | 33 | public GenericMessage(string message, T value) 34 | : base(message) 35 | { 36 | Value = value; 37 | } 38 | } 39 | 40 | public class IntegerMessage : GenericMessage 41 | { 42 | public IntegerMessage(string message, int value) 43 | : base(message, value) 44 | { 45 | } 46 | 47 | public void Set(string message, int value) 48 | { 49 | Message = message; 50 | Value = value; 51 | } 52 | } -------------------------------------------------------------------------------- /UI/UISliderColor.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using UnityEngine.UI; 3 | 4 | [RequireComponent(typeof(Slider))] 5 | public sealed class UISliderColor : MonoBehaviour 6 | { 7 | private Slider _slider; 8 | public Color fullColor = Color.green; 9 | public Color middleColor = Color.yellow; 10 | public Color lowColor = Color.red; 11 | public Image foreground; 12 | 13 | void Start() 14 | { 15 | _slider = GetComponent(typeof(Slider)) as Slider; 16 | //_slider.onValueChanged.AddListener(OnValueChanged); 17 | 18 | if (foreground == null) 19 | { 20 | var imgs = GetComponentsInChildren(); 21 | foreground = imgs[imgs.Length - 1]; 22 | } 23 | } 24 | 25 | void Update() 26 | { 27 | OnValueChanged(_slider.value); 28 | } 29 | 30 | private void OnValueChanged(float value) 31 | { 32 | if (value <= 0.33f) 33 | foreground.color = lowColor; 34 | else if (value <= 0.66f) 35 | foreground.color = middleColor; 36 | else 37 | foreground.color = fullColor; 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2015 Yannick Comte 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | 23 | -------------------------------------------------------------------------------- /Graphics/MeshMerger.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System.Collections; 3 | 4 | [RequireComponent(typeof(MeshFilter))] 5 | [RequireComponent(typeof(MeshRenderer))] 6 | public class MeshMerger : MonoBehaviour 7 | { 8 | public Material material; 9 | public bool addMeshCollider = true; 10 | private Transform _transform; 11 | 12 | void Awake() 13 | { 14 | _transform = transform; 15 | 16 | MeshFilter[] meshFilters = GetComponentsInChildren(); 17 | CombineInstance[] combine = new CombineInstance[meshFilters.Length]; 18 | int i = 0; 19 | 20 | while (i < meshFilters.Length) 21 | { 22 | combine[i].mesh = meshFilters[i].sharedMesh; 23 | combine[i].transform = meshFilters[i].transform.localToWorldMatrix; 24 | meshFilters[i].gameObject.SetActive(false); 25 | i++; 26 | } 27 | 28 | _transform.GetComponent().mesh = new Mesh(); 29 | _transform.GetComponent().mesh.CombineMeshes(combine); 30 | _transform.GetComponent().sharedMaterial = material; 31 | 32 | if (addMeshCollider) 33 | _transform.gameObject.AddComponent(); 34 | 35 | _transform.gameObject.SetActive(true); 36 | } 37 | } -------------------------------------------------------------------------------- /Legacy/Universal VR/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2015 Yannick Comte 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | 23 | -------------------------------------------------------------------------------- /Utils/SpawnPoint.cs: -------------------------------------------------------------------------------- 1 | using Demonixis.Toolbox; 2 | using UnityEngine; 3 | 4 | public sealed class SpawnPoint : MonoBehaviour 5 | { 6 | public Vector3 size = Vector3.one; 7 | public Color color = Color.green; 8 | public bool useSphereRender = false; 9 | public bool isWayPoint = false; 10 | public bool isSpawnPoint = false; 11 | 12 | void Start() 13 | { 14 | if (isSpawnPoint) 15 | Destroy(this); 16 | } 17 | 18 | void OnTriggerEnter(Collider other) 19 | { 20 | if (other.tag == "Player") 21 | { 22 | var player = other.GetComponent(); 23 | if (player != null) 24 | { 25 | if (isWayPoint) 26 | player.SetSpawnPoint(transform.position, transform.rotation); 27 | } 28 | 29 | Destroy(this); 30 | } 31 | } 32 | 33 | void OnDrawGizmos() 34 | { 35 | Gizmos.color = color; 36 | 37 | if (useSphereRender) 38 | Gizmos.DrawSphere(transform.position, size == Vector3.zero ? transform.localScale.x : size.x); 39 | else 40 | Gizmos.DrawCube(transform.position, size == Vector3.zero ? transform.localScale : size); 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /Legacy/Universal VR/Sources/Resources/Shaders/UVR_DistortionCorrection.shader: -------------------------------------------------------------------------------- 1 | Shader "Demonixis/Filter/SimpleBlur" 2 | { 3 | Properties 4 | { 5 | _MainTex ("Base (RGB)", 2D) = "white" {} 6 | } 7 | SubShader 8 | { 9 | Pass 10 | { 11 | CGPROGRAM 12 | #pragma vertex vert_img 13 | #pragma fragment PixelShaderFunction 14 | #include "UnityCG.cginc" 15 | 16 | uniform sampler2D _MainTex; 17 | uniform half2 _LensCenter; 18 | uniform half2 _Scale; 19 | uniform half2 _ScaleIn; 20 | uniform half4 _HmdWarpParam; 21 | 22 | half2 HmdWarp(half2 in01) 23 | { 24 | half2 theta = (in01 - _LensCenter) * _ScaleIn; // _Scales to [-1, 1] 25 | half rSq = theta.x * theta.x + theta.y * theta.y; 26 | half2 rvector = theta * (_HmdWarpParam.x + _HmdWarpParam.y * rSq + _HmdWarpParam.z * rSq * rSq + _HmdWarpParam.w * rSq * rSq * rSq); 27 | return _LensCenter + _Scale * rvector; 28 | } 29 | 30 | half4 PixelShaderFunction(v2f_img input) : COLOR 31 | { 32 | fixed2 tc = HmdWarp(input.uv); 33 | 34 | if (tc.x < 0.0 || tc.x > 1.0 || tc.y < 0.0 || tc.y > 1.0) 35 | return half4(0.0, 0.0, 0.0, 1.0); 36 | else 37 | return half4(tex2D(_MainTex, tc)); 38 | } 39 | ENDCG 40 | } 41 | } 42 | } -------------------------------------------------------------------------------- /UI/UIAlphaFade.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using UnityEngine; 3 | using UnityEngine.UI; 4 | 5 | public sealed class UIAlphaFade : MonoBehaviour 6 | { 7 | public static bool Fading = false; 8 | private Color _color = Color.white; 9 | public Image overlay; 10 | public float speed = 1.2f; 11 | public float minFade = 0.0f; 12 | public float maxFade = 1.0f; 13 | 14 | public bool IsFading 15 | { 16 | get { return Fading; } 17 | } 18 | 19 | public event EventHandler Completed = null; 20 | 21 | void Awake() 22 | { 23 | Fading = false; 24 | } 25 | 26 | void Update() 27 | { 28 | if (Fading) 29 | { 30 | _color.a += Mathf.Clamp01(Time.unscaledDeltaTime * speed); 31 | overlay.color = _color; 32 | 33 | if (_color.a >= maxFade) 34 | { 35 | Fading = false; 36 | 37 | if (Completed != null) 38 | Completed(this, EventArgs.Empty); 39 | } 40 | } 41 | } 42 | 43 | public void Reset(bool disable) 44 | { 45 | Fading = disable; 46 | _color = overlay.color; 47 | _color.a = minFade; 48 | overlay.color = _color; 49 | overlay.gameObject.SetActive(disable); 50 | } 51 | 52 | public void Begin() 53 | { 54 | Reset(true); 55 | } 56 | } 57 | -------------------------------------------------------------------------------- /UI/UIAnimateScale.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | namespace Demonixis.Toolbox.UI 4 | { 5 | public sealed class UIAnimateScale : MonoBehaviour 6 | { 7 | private RectTransform _rectTransform; 8 | private bool _done = false; 9 | public Vector3 startScale = new Vector3(0.2f, 0.2f, 0.2f); 10 | public float scaleSpeed = 2.0f; 11 | public bool ignoreTimeScale = true; 12 | 13 | void OnEnable() 14 | { 15 | #if UNITY_EDITOR 16 | if (!UnityEditor.EditorApplication.isPlaying) 17 | return; 18 | #endif 19 | Reset(); 20 | } 21 | 22 | void Update() 23 | { 24 | if (!_done) 25 | { 26 | _rectTransform.localScale = Vector3.Lerp(_rectTransform.localScale, Vector3.one, (ignoreTimeScale ? Time.unscaledDeltaTime : Time.deltaTime) * scaleSpeed); 27 | 28 | if (Vector3.Distance(_rectTransform.localScale, Vector3.one) < 0.1f) 29 | { 30 | _done = true; 31 | _rectTransform.localScale = Vector3.one; 32 | } 33 | } 34 | } 35 | 36 | public void Reset() 37 | { 38 | if (_rectTransform == null) 39 | _rectTransform = (RectTransform)GetComponent(typeof(RectTransform)); 40 | 41 | _rectTransform.localScale = startScale; 42 | _done = false; 43 | } 44 | } 45 | } -------------------------------------------------------------------------------- /Graphics/FogTransition.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | public class FogTransition : MonoBehaviour 4 | { 5 | public FogMode fogMode = FogMode.Linear; 6 | public float density = 0.03f; 7 | public float startDistance = 0; 8 | public float endDistance = 100; 9 | public Color fogStartColor = new Color(0.95f, 0.95f, 0.95f, 1.0f); 10 | public Color fogEndColor = new Color(1.0f, 0.9f, 0.5f, 1.0f); 11 | public float fogTransition = 0.0f; 12 | private Color fogTargetColor; 13 | 14 | void Awake() 15 | { 16 | RenderSettings.fog = true; 17 | RenderSettings.fogMode = fogMode; 18 | RenderSettings.fogDensity = density; 19 | RenderSettings.fogColor = fogStartColor; 20 | RenderSettings.fogStartDistance = startDistance; 21 | RenderSettings.fogEndDistance = endDistance; 22 | } 23 | 24 | void Start() 25 | { 26 | if (fogTransition == 0.0f) 27 | { 28 | RenderSettings.fog = false; 29 | Destroy(this); 30 | } 31 | 32 | fogTargetColor = fogEndColor; 33 | } 34 | 35 | void Update() 36 | { 37 | RenderSettings.fogColor = Color.Lerp(RenderSettings.fogColor, fogTargetColor, Time.deltaTime * fogTransition); 38 | 39 | if (RenderSettings.fogColor == fogEndColor) 40 | fogTargetColor = fogStartColor; 41 | else if (RenderSettings.fogColor == fogStartColor) 42 | fogTargetColor = fogEndColor; 43 | } 44 | } -------------------------------------------------------------------------------- /Controllers/Six Degrees Of Freedom/SixDOFController.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System.Collections; 3 | 4 | public class SixDOFController : MonoBehaviour 5 | { 6 | // Cache 7 | private Rigidbody _rigidbody; 8 | private Vector3 _translation; 9 | private Vector3 _rotation; 10 | 11 | // Speed 12 | public float translationSpeed = 165.0f; 13 | public float rotationSpeed = 45.0f; 14 | public float rollSpeed = 0.5f; 15 | 16 | // Input axis 17 | public string rotationXAxis = "Mouse Y"; 18 | public string rotationYAxis = "Mouse X"; 19 | public string rotationZAxis = "Roll"; 20 | public string translationXAxis = "Horizontal"; 21 | public string translationYAxis = "MoveTop"; 22 | public string translationZAxis = "Vertical"; 23 | 24 | void Start () 25 | { 26 | _rigidbody = GetComponent(); 27 | Screen.lockCursor = true; 28 | Cursor.visible = false; 29 | } 30 | 31 | void Update() 32 | { 33 | _rotation.x = -Input.GetAxis(rotationXAxis); 34 | _rotation.y = Input.GetAxis(rotationYAxis); 35 | _rotation.z = Input.GetAxis(rotationZAxis) * rollSpeed; 36 | 37 | _translation.x = Input.GetAxis(translationXAxis); 38 | _translation.y = Input.GetAxis(translationYAxis); 39 | _translation.z = Input.GetAxis(translationZAxis); 40 | } 41 | 42 | void FixedUpdate() 43 | { 44 | _rigidbody.AddRelativeForce(_translation * translationSpeed); 45 | _rigidbody.AddRelativeTorque(_rotation * rotationSpeed); 46 | 47 | } 48 | } -------------------------------------------------------------------------------- /UI/UISpinner.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using UnityEngine.UI; 3 | 4 | namespace Demonixis.Toolbox.UI 5 | { 6 | public sealed class UISpinner : MonoBehaviour 7 | { 8 | private int _counter; 9 | 10 | [SerializeField] 11 | private Text _target = null; 12 | [SerializeField] 13 | private int _minimum = 0; 14 | [SerializeField] 15 | private int _maximum = 255; 16 | [SerializeField] 17 | private bool _interactable = true; 18 | 19 | public void Increment() 20 | { 21 | _counter++; 22 | 23 | if (_counter > _maximum) 24 | _counter = _minimum; 25 | 26 | UpdateText(); 27 | } 28 | 29 | public void Decrement() 30 | { 31 | _counter--; 32 | 33 | if (_counter < _minimum) 34 | _counter = _maximum; 35 | 36 | UpdateText(); 37 | } 38 | 39 | public void SetInteractable(bool isInteractable) 40 | { 41 | var buttons = GetComponentsInChildren