Added Unity project files
This commit is contained in:
@ -0,0 +1,56 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
using VRC.SDKBase;
|
||||
using VRC.Udon.Common;
|
||||
|
||||
namespace VRC.SDK3.ClientSim
|
||||
{
|
||||
public interface IClientSimInput
|
||||
{
|
||||
float GetMovementHorizontal();
|
||||
float GetMovementVertical();
|
||||
Vector2 GetMovementAxes();
|
||||
float GetLookHorizontal();
|
||||
float GetLookVertical();
|
||||
Vector2 GetLookAxes();
|
||||
|
||||
float GetPickupRotateUpDown();
|
||||
float GetPickupRotateLeftRight();
|
||||
float GetPickupRotateCwCcw();
|
||||
float GetPickupManipulateDistance();
|
||||
|
||||
|
||||
void SubscribeJump(Action<bool, HandType> handler);
|
||||
void UnsubscribeJump(Action<bool, HandType> handler);
|
||||
|
||||
void SubscribeUse(Action<bool, HandType> handler);
|
||||
void UnsubscribeUse(Action<bool, HandType> handler);
|
||||
|
||||
void SubscribeGrab(Action<bool, HandType> handler);
|
||||
void UnsubscribeGrab(Action<bool, HandType> handler);
|
||||
|
||||
void SubscribeDrop(Action<bool, HandType> handler);
|
||||
void UnsubscribeDrop(Action<bool, HandType> handler);
|
||||
|
||||
void SubscribeToggleMenu(Action<bool, HandType> handler);
|
||||
void UnsubscribeToggleMenu(Action<bool, HandType> handler);
|
||||
|
||||
|
||||
void SubscribeRun(Action<bool> handler);
|
||||
void UnsubscribeRun(Action<bool> handler);
|
||||
|
||||
void SubscribeToggleCrouch(Action<bool> handler);
|
||||
void UnsubscribeToggleCrouch(Action<bool> handler);
|
||||
|
||||
void SubscribeToggleProne(Action<bool> handler);
|
||||
void UnsubscribeToggleProne(Action<bool> handler);
|
||||
|
||||
void SubscribeReleaseMouse(Action<bool> handler);
|
||||
void UnsubscribeReleaseMouse(Action<bool> handler);
|
||||
|
||||
public void SubscribeInputChangedEvent(Action<VRCInputMethod> handler);
|
||||
public void UnsubscribeInputChangedEvent(Action<VRCInputMethod> handler);
|
||||
|
||||
public void SendToggleMenuEvent(bool value, HandType hand);
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: abd396195599a944d932ae13f52f55b5
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@ -0,0 +1,9 @@
|
||||
using VRC.Udon.Common;
|
||||
|
||||
namespace VRC.SDK3.ClientSim
|
||||
{
|
||||
public interface IClientSimUdonInputEventSender
|
||||
{
|
||||
void RunInputAction(string eventName, UdonInputEventArgs args);
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 64c08af8f4f24106a5c7d231af1a4ca0
|
||||
timeCreated: 1640269388
|
||||
Reference in New Issue
Block a user