feat(Transport): 实现传送器

This commit is contained in:
2025-10-23 09:26:47 +08:00
parent 7903e7fdbe
commit f50ad955aa
6 changed files with 398 additions and 1 deletions

View File

@@ -14,7 +14,7 @@ namespace Script.Gameplay.Facility
private void FixedUpdate()
{
if (!isEnableInteract) return;
if (!isOpenInEditor) return;
bool hasObject = Physics.CheckBox(transform.position + plateOffset, plateSize * 0.5f, Quaternion.identity, detectLayer);
if (hasObject != lastState)
{