2026-06-17 스타터킷,툰셰이더,오른손
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user