アイテム判定修正

This commit is contained in:
kimura 2022-07-29 14:54:57 +09:00
parent 07a3883d8a
commit 56e6d9ac27
1 changed files with 4 additions and 0 deletions

View File

@ -257,6 +257,10 @@ namespace MyGame.Scenes.MiniGame.Scripts
{
return;
}
if (item.ItemType == StageItem.Type.Item1)
{
return;
}
var closestPoint = x.ClosestPoint(playerTransform.position);
x.enabled = false;