Initial commit

This commit is contained in:
2026-02-18 12:00:34 +00:00
commit 5d353cf5fa
1947 changed files with 335322 additions and 0 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 22f5d28791afa30448b52589b9213066
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,19 @@
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.InputSystem;
using UnityEngine.InputSystem.DualShock;
public class LightbarSettings : MonoBehaviour
{
public Color SetColor;
public void ChangeColor()
{
var gamepad = DualShockGamepad.current;
if (gamepad != null)
{
Debug.Log("Current gamepad: " + gamepad);
gamepad.SetLightBarColor(SetColor);
}
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 1f16c760d1d497144a1927cbb27caad8
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,28 @@
using UnityEngine;
using UnityEngine.InputSystem;
using UnityEngine.InputSystem.DualShock;
public class MotorSettings : MonoBehaviour
{
[Range(0, 1)] public float lowFrequencyMotorSpeed;
[Range(0, 1)] public float highFrequencyMotorSpeed;
public void SetMotorSpeeds()
{
var gamepad = Gamepad.current;
if (gamepad != null)
{
Debug.Log("Current gamepad: " + gamepad);
gamepad.SetMotorSpeeds(lowFrequencyMotorSpeed, highFrequencyMotorSpeed);
}
}
private void OnDisable()
{
var gamepad = Gamepad.current;
if (gamepad != null)
{
gamepad.SetMotorSpeeds(0, 0);
}
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: bbd4cc500f118d740a1342b2168f32e3
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant: