feat(Transport): 实现传送器
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user