feat: add Lofelt Nice Vibrations haptic system integration
- Import Lofelt SDK - Update Unity TextMesh Pro package to 3.0.9
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
using System.IO;
|
||||
|
||||
namespace OCES.Haptic
|
||||
{
|
||||
public interface IBinarySerializable
|
||||
{
|
||||
void DeSerialize(BinaryReader reader);
|
||||
void Serialize(BinaryWriter writer);
|
||||
}
|
||||
|
||||
public enum HapticType
|
||||
{
|
||||
Preset = 0, //播放预制
|
||||
Transient = 1, //播放瞬时
|
||||
Continuous = 2, //播放连续
|
||||
Advance = 3, //播放文件
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d7267d262bcf45e0ba1855dccdc5e87e
|
||||
timeCreated: 1775705326
|
||||
@@ -0,0 +1,12 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
namespace OCES.Haptic
|
||||
{
|
||||
public class HapticSystem : MonoBehaviour
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b1939bb20b5db46c1a5f7354ca0fba87
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in New Issue
Block a user