From 06b253da2422f76dda12db8a3e31a095fdc99129 Mon Sep 17 00:00:00 2001 From: GanX <2423855310@qq.com> Date: Mon, 20 Oct 2025 09:02:15 +0800 Subject: [PATCH] =?UTF-8?q?chore():=20=E4=BF=AE=E6=94=B9=E4=BA=86Gameplay?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E7=9A=84=E5=90=8D=E7=A7=B0=E7=A9=BA=E9=97=B4?= =?UTF-8?q?=EF=BC=8C=E6=B7=BB=E5=8A=A0Test=E5=9C=BA=E6=99=AF=E4=B8=93?= =?UTF-8?q?=E9=97=A8=E6=91=86=E6=94=BE=E5=B1=95=E7=A4=BA=E9=A2=84=E5=88=B6?= =?UTF-8?q?=E4=BD=93=E7=9A=84=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/Script/Gameplay/Facility/ColliderEditableController.cs | 1 + Assets/Script/Gameplay/Facility/DoorInteractController.cs | 2 +- Assets/Script/Gameplay/Facility/FacilityEditableController.cs | 2 +- Assets/Script/Gameplay/Facility/InteractableBaseController.cs | 2 +- Assets/Script/Gameplay/Facility/RigidbodyEditableController.cs | 1 + Assets/Script/Gameplay/Interface/IDamageable.cs | 2 +- Assets/Script/Gameplay/Interface/IEditable.cs | 2 +- .../Gameplay/{Facility => Interface}/IEditableComponent.cs | 2 +- .../Gameplay/{Facility => Interface}/IEditableComponent.cs.meta | 0 Assets/Script/Gameplay/Interface/IInteractable.cs | 2 +- Assets/Script/Gameplay/Player/PlayerController.cs | 2 +- Assets/Script/Gameplay/Player/PlayerEditController.cs | 2 +- Assets/Script/Gameplay/Player/PlayerInteractorController.cs | 2 +- Assets/Script/Gameplay/UI/EditableComponentViewer.cs | 2 +- Assets/Script/Gameplay/UI/PlayerEditViewer.cs | 2 +- 15 files changed, 14 insertions(+), 12 deletions(-) rename Assets/Script/Gameplay/{Facility => Interface}/IEditableComponent.cs (88%) rename Assets/Script/Gameplay/{Facility => Interface}/IEditableComponent.cs.meta (100%) diff --git a/Assets/Script/Gameplay/Facility/ColliderEditableController.cs b/Assets/Script/Gameplay/Facility/ColliderEditableController.cs index d1799bd..3eb87b6 100644 --- a/Assets/Script/Gameplay/Facility/ColliderEditableController.cs +++ b/Assets/Script/Gameplay/Facility/ColliderEditableController.cs @@ -1,4 +1,5 @@ using UnityEngine; +using Script.Gameplay.Interface; namespace Script.Gameplay.Facility { diff --git a/Assets/Script/Gameplay/Facility/DoorInteractController.cs b/Assets/Script/Gameplay/Facility/DoorInteractController.cs index 702028a..3e6a5a7 100644 --- a/Assets/Script/Gameplay/Facility/DoorInteractController.cs +++ b/Assets/Script/Gameplay/Facility/DoorInteractController.cs @@ -2,7 +2,7 @@ using System; using System.Collections.Generic; using Gameplay.Player; using UnityEngine; -using Interface; +using Script.Gameplay.Interface; using Script.Gameplay.Connect; namespace Script.Gameplay.Facility diff --git a/Assets/Script/Gameplay/Facility/FacilityEditableController.cs b/Assets/Script/Gameplay/Facility/FacilityEditableController.cs index 72c25fc..eb6820e 100644 --- a/Assets/Script/Gameplay/Facility/FacilityEditableController.cs +++ b/Assets/Script/Gameplay/Facility/FacilityEditableController.cs @@ -2,7 +2,7 @@ using System; using System.Collections.Generic; using Gameplay.Player; using UnityEngine; -using Interface; +using Script.Gameplay.Interface; namespace Script.Gameplay.Facility { diff --git a/Assets/Script/Gameplay/Facility/InteractableBaseController.cs b/Assets/Script/Gameplay/Facility/InteractableBaseController.cs index b807ced..2d003f0 100644 --- a/Assets/Script/Gameplay/Facility/InteractableBaseController.cs +++ b/Assets/Script/Gameplay/Facility/InteractableBaseController.cs @@ -1,5 +1,5 @@ using UnityEngine; -using Interface; +using Script.Gameplay.Interface; namespace Script.Gameplay.Facility { diff --git a/Assets/Script/Gameplay/Facility/RigidbodyEditableController.cs b/Assets/Script/Gameplay/Facility/RigidbodyEditableController.cs index dfae632..0dd7672 100644 --- a/Assets/Script/Gameplay/Facility/RigidbodyEditableController.cs +++ b/Assets/Script/Gameplay/Facility/RigidbodyEditableController.cs @@ -1,4 +1,5 @@ using UnityEngine; +using Script.Gameplay.Interface; namespace Script.Gameplay.Facility { diff --git a/Assets/Script/Gameplay/Interface/IDamageable.cs b/Assets/Script/Gameplay/Interface/IDamageable.cs index e5c134a..ee88c2b 100644 --- a/Assets/Script/Gameplay/Interface/IDamageable.cs +++ b/Assets/Script/Gameplay/Interface/IDamageable.cs @@ -1,4 +1,4 @@ -namespace Interface +namespace Script.Gameplay.Interface { public interface IDamageable { diff --git a/Assets/Script/Gameplay/Interface/IEditable.cs b/Assets/Script/Gameplay/Interface/IEditable.cs index 4575877..9295a4c 100644 --- a/Assets/Script/Gameplay/Interface/IEditable.cs +++ b/Assets/Script/Gameplay/Interface/IEditable.cs @@ -3,7 +3,7 @@ using Gameplay.Player; using System.Collections.Generic; using Script.Gameplay.Facility; -namespace Interface +namespace Script.Gameplay.Interface { public interface IEditable { diff --git a/Assets/Script/Gameplay/Facility/IEditableComponent.cs b/Assets/Script/Gameplay/Interface/IEditableComponent.cs similarity index 88% rename from Assets/Script/Gameplay/Facility/IEditableComponent.cs rename to Assets/Script/Gameplay/Interface/IEditableComponent.cs index 3b10cc2..ab069b0 100644 --- a/Assets/Script/Gameplay/Facility/IEditableComponent.cs +++ b/Assets/Script/Gameplay/Interface/IEditableComponent.cs @@ -1,4 +1,4 @@ -namespace Script.Gameplay.Facility +namespace Script.Gameplay.Interface { public enum LockLevel { diff --git a/Assets/Script/Gameplay/Facility/IEditableComponent.cs.meta b/Assets/Script/Gameplay/Interface/IEditableComponent.cs.meta similarity index 100% rename from Assets/Script/Gameplay/Facility/IEditableComponent.cs.meta rename to Assets/Script/Gameplay/Interface/IEditableComponent.cs.meta diff --git a/Assets/Script/Gameplay/Interface/IInteractable.cs b/Assets/Script/Gameplay/Interface/IInteractable.cs index 776b7c0..c56257f 100644 --- a/Assets/Script/Gameplay/Interface/IInteractable.cs +++ b/Assets/Script/Gameplay/Interface/IInteractable.cs @@ -1,5 +1,5 @@ using UnityEngine; -namespace Interface +namespace Script.Gameplay.Interface { public interface IInteractable { diff --git a/Assets/Script/Gameplay/Player/PlayerController.cs b/Assets/Script/Gameplay/Player/PlayerController.cs index e2ff605..41da790 100644 --- a/Assets/Script/Gameplay/Player/PlayerController.cs +++ b/Assets/Script/Gameplay/Player/PlayerController.cs @@ -2,7 +2,7 @@ using System; using System.Collections.Generic; using System.Linq; using Gameplay; -using Interface; +using Script.Gameplay.Interface; using UnityEngine; using Core; using Script.Gameplay.Global; diff --git a/Assets/Script/Gameplay/Player/PlayerEditController.cs b/Assets/Script/Gameplay/Player/PlayerEditController.cs index bdbb69d..e632968 100644 --- a/Assets/Script/Gameplay/Player/PlayerEditController.cs +++ b/Assets/Script/Gameplay/Player/PlayerEditController.cs @@ -1,6 +1,6 @@ using Core; using UnityEngine; -using Interface; +using Script.Gameplay.Interface; using Script.Gameplay.Input; namespace Gameplay.Player diff --git a/Assets/Script/Gameplay/Player/PlayerInteractorController.cs b/Assets/Script/Gameplay/Player/PlayerInteractorController.cs index 38c0487..20216e2 100644 --- a/Assets/Script/Gameplay/Player/PlayerInteractorController.cs +++ b/Assets/Script/Gameplay/Player/PlayerInteractorController.cs @@ -1,5 +1,5 @@ using UnityEngine; -using Interface; +using Script.Gameplay.Interface; using System; using Script.Gameplay.Input; diff --git a/Assets/Script/Gameplay/UI/EditableComponentViewer.cs b/Assets/Script/Gameplay/UI/EditableComponentViewer.cs index 031ff37..133c8c4 100644 --- a/Assets/Script/Gameplay/UI/EditableComponentViewer.cs +++ b/Assets/Script/Gameplay/UI/EditableComponentViewer.cs @@ -2,7 +2,7 @@ using Core; using TMPro; using UnityEngine; using UnityEngine.UI; -using Script.Gameplay.Facility; +using Script.Gameplay.Interface; namespace UI { diff --git a/Assets/Script/Gameplay/UI/PlayerEditViewer.cs b/Assets/Script/Gameplay/UI/PlayerEditViewer.cs index 4d88500..b768556 100644 --- a/Assets/Script/Gameplay/UI/PlayerEditViewer.cs +++ b/Assets/Script/Gameplay/UI/PlayerEditViewer.cs @@ -2,7 +2,7 @@ using System; using System.Collections.Generic; using System.Linq; using Core; -using Interface; +using Script.Gameplay.Interface; using Gameplay.Player; using Script.Gameplay.Facility; using UnityEngine;