Initialer Upload neues Unity-Projekt

This commit is contained in:
Daniel Ocks
2025-07-21 09:11:14 +02:00
commit eeca72985b
14558 changed files with 1508140 additions and 0 deletions

View File

@ -0,0 +1,14 @@
{
"name": "SteamVR_Windows_EditorHelper",
"references": [],
"optionalUnityReferences": [],
"includePlatforms": [
"Editor"
],
"excludePlatforms": [],
"allowUnsafeCode": false,
"overrideReferences": false,
"precompiledReferences": [],
"autoReferenced": true,
"defineConstraints": []
}

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 256e975f9c776644aa4d86bc0c894f33
timeCreated: 1546467053
licenseType: Store
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,62 @@
using UnityEngine;
using System.Collections;
namespace Valve.VR
{
public class SteamVR_Windows_Editor_Helper
{
public enum BrowserApplication
{
Unknown,
InternetExplorer,
Firefox,
Chrome,
Opera,
Safari,
Edge,
}
public static BrowserApplication GetDefaultBrowser()
{
#if UNITY_EDITOR
#if UNITY_STANDALONE_WIN
const string userChoice = @"Software\Microsoft\Windows\Shell\Associations\UrlAssociations\http\UserChoice";
using (Microsoft.Win32.RegistryKey userChoiceKey = Microsoft.Win32.Registry.CurrentUser.OpenSubKey(userChoice))
{
if (userChoiceKey == null)
{
return BrowserApplication.Unknown;
}
object progIdValue = userChoiceKey.GetValue("Progid");
if (progIdValue == null)
{
return BrowserApplication.Unknown;
}
string browserId = progIdValue.ToString().ToLower();
if (browserId.Contains("ie.http"))
return BrowserApplication.InternetExplorer;
else if (browserId.Contains("firefox"))
return BrowserApplication.Firefox;
else if (browserId.Contains("chrome"))
return BrowserApplication.Chrome;
else if (browserId.Contains("opera"))
return BrowserApplication.Opera;
else if (browserId.Contains("safari"))
return BrowserApplication.Safari;
else if (browserId.Contains("appcq0fevzme2pys62n3e0fbqa7peapykr8v")) //AppXq0fevzme2pys62n3e0fbqa7peapykr8v
return BrowserApplication.Edge;
else
return BrowserApplication.Unknown;
}
#else
return BrowserApplication.Firefox;
#endif
#else
return BrowserApplication.Firefox;
#endif
}
}
}

View File

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 5162205b778d01647b0d6a2c523b2518
timeCreated: 1546466357
licenseType: Store
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant: