2026-06-17 스타터킷,툰셰이더,오른손

This commit is contained in:
2026-06-17 10:51:49 +09:00
parent 48c3cfe9f1
commit 6ccae390f6
2067 changed files with 115278 additions and 697 deletions

View File

@@ -1,8 +1,9 @@
using Unity.XR.CoreUtils;
using UnityEngine;
using UnityEngine.Assertions;
using UnityEngine.XR.Interaction.Toolkit.Locomotion.Movement;
namespace UnityEngine.XR.Interaction.Toolkit.Samples.StarterAssets
namespace XR.Interaction.Toolkit.Samples
{
/// <summary>
/// A version of continuous movement that automatically controls the frame of reference that
@@ -117,7 +118,7 @@ protected override Vector3 ComputeDesiredMove(Vector2 input)
// Don't need to do anything if the total input is zero.
// This is the same check as the base method.
if (input == Vector2.zero)
return base.ComputeDesiredMove(input);
return Vector3.zero;
// Initialize the Head Transform if necessary, getting the Camera from XR Origin
if (m_HeadTransform == null)