Skip to content

Commit 8499c73

Browse files
committed
fix: Modify drag animation condition in CharacterManager
Simplify drag animation trigger by removing redundant UniWindowMoveHandle check
1 parent 89f0ff4 commit 8499c73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Assets/uDesktopMascot/Scripts/Character/CharacterManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ private void Update()
202202
// _characterAnimationController.Update();
203203

204204
// モーションを切り替える
205-
if (_isDragging && _uniWindowMoveHandle.IsDragging)
205+
if (_isDragging)
206206
{
207207
// ドラッグ中はハンギングモーション(ぶら下がりモーション)
208208
_modelAnimator.SetBool(Const.IsSitting, false);

0 commit comments

Comments
 (0)