This commit is contained in:
2026-06-09 09:18:17 +07:00
parent 3578a2750c
commit 71a096556a
5777 changed files with 6675 additions and 13 deletions

View File

@@ -1,36 +0,0 @@
/// ---------------------------------------------
/// Ultimate Character Controller
/// Copyright (c) Opsive. All Rights Reserved.
/// https://www.opsive.com
/// ---------------------------------------------
namespace Opsive.UltimateCharacterController.VR
{
using UnityEngine;
/// <summary>
/// The handler for the VR hands.
/// </summary>
public interface IVRHandHandler
{
/// <summary>
/// Returns the number of slots that the hands can occupy.
/// </summary>
/// <returns>The number of slots that the hands can occupy.</returns>
int GetSlotCount();
/// <summary>
/// Returns the hand GameObject at the specified slot ID.
/// </summary>
/// <param name="slotID">The ID to retrieve the hand of.</param>
/// <returns>The hand GameObject at the specified slot ID.</returns>
GameObject GetHand(int slotID);
/// <summary>
/// Returns the velocity of the hand at the specified slot.
/// </summary>
/// <param name="slotID">The slot to get the velocity of.</param>
/// <returns>The velocity of the hand at the specifeid slot.</returns>
Vector3 GetVelocity(int slotID);
}
}

View File

@@ -1,13 +0,0 @@
fileFormatVersion: 2
guid: f306d79cf46849c488227e8a6e56519c
timeCreated: 1566156958
licenseType: Pro
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -1,32 +0,0 @@
#if ULTIMATE_CHARACTER_CONTROLLER_MELEE
/// ---------------------------------------------
/// Ultimate Character Controller
/// Copyright (c) Opsive. All Rights Reserved.
/// https://www.opsive.com
/// ---------------------------------------------
namespace Opsive.UltimateCharacterController.VR
{
/// <summary>
/// Allows the MeleeWeapon to communicate with a VRMeleeWeapon.
/// </summary>
public interface IVRMeleeWeapon
{
/// <summary>
/// Starts the item use.
/// </summary>
void StartItemUse();
/// <summary>
/// Returns true if the melee weapon can be used.
/// </summary>
/// <returns>True if the melee weapon be used.</returns>
bool CanUseItem();
/// <summary>
/// Stops the item use.
/// </summary>
void StopItemUse();
}
}
#endif

View File

@@ -1,13 +0,0 @@
fileFormatVersion: 2
guid: c2b736819673dd146bf756f4e28adf0d
timeCreated: 1562680355
licenseType: Pro
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -1,32 +0,0 @@
/// ---------------------------------------------
/// Ultimate Character Controller
/// Copyright (c) Opsive. All Rights Reserved.
/// https://www.opsive.com
/// ---------------------------------------------
namespace Opsive.UltimateCharacterController.VR
{
using UnityEngine;
/// <summary>
/// Allows the ThrowableItem to communicate with a VRThrowableItem.
/// </summary>
public interface IVRThrowableItem
{
/// <summary>
/// The character has equipped the item.
/// </summary>
void Equip();
/// <summary>
/// Returns the velocity that the item should be thrown at.
/// </summary>
/// <returns>The velocity that the item should be thrown at.</returns>
Vector3 GetVelocity();
/// <summary>
/// The character has unequipped the item.
/// </summary>
void Unequip();
}
}

View File

@@ -1,13 +0,0 @@
fileFormatVersion: 2
guid: e03eb113bf1e3604fafc35174105ecb4
timeCreated: 1562680355
licenseType: Pro
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -1,17 +0,0 @@
/// ---------------------------------------------
/// Ultimate Character Controller
/// Copyright (c) Opsive. All Rights Reserved.
/// https://www.opsive.com
/// ---------------------------------------------
namespace Opsive.UltimateCharacterController.VR
{
using UnityEngine;
/// <summary>
/// Identifier component which specifies the VR camera.
/// </summary>
public class VRCameraIdentifier : MonoBehaviour
{
}
}

View File

@@ -1,12 +0,0 @@
fileFormatVersion: 2
guid: 6087b1f793a5e724e95608e0fb06a7c0
timeCreated: 1504828345
licenseType: Pro
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant: