diff --git a/GFramework.Core.Abstractions/Concurrency/LockInfo.cs b/GFramework.Core.Abstractions/Concurrency/LockInfo.cs index 2f8cc1f..0e06da0 100644 --- a/GFramework.Core.Abstractions/Concurrency/LockInfo.cs +++ b/GFramework.Core.Abstractions/Concurrency/LockInfo.cs @@ -11,14 +11,11 @@ // See the License for the specific language governing permissions and // limitations under the License. -using System.Runtime.InteropServices; - namespace GFramework.Core.Abstractions.Concurrency; /// /// 锁信息(用于调试) /// -[StructLayout(LayoutKind.Auto)] public readonly struct LockInfo { /// diff --git a/GFramework.Game.Abstractions/Scene/ISceneBehavior.cs b/GFramework.Game.Abstractions/Scene/ISceneBehavior.cs index f56f5d8..63974c0 100644 --- a/GFramework.Game.Abstractions/Scene/ISceneBehavior.cs +++ b/GFramework.Game.Abstractions/Scene/ISceneBehavior.cs @@ -21,12 +21,6 @@ namespace GFramework.Game.Abstractions.Scene; /// public interface ISceneBehavior : IRoute { - /// - /// 获取场景的唯一标识符。 - /// 该成员显式细化了 在场景路由中的语义,用于区分不同的场景实例。 - /// - new string Key { get; } - /// /// 获取场景的原始对象。 /// diff --git a/GFramework.Game.Abstractions/UI/IUiPageBehavior.cs b/GFramework.Game.Abstractions/UI/IUiPageBehavior.cs index 51e693a..17a3e68 100644 --- a/GFramework.Game.Abstractions/UI/IUiPageBehavior.cs +++ b/GFramework.Game.Abstractions/UI/IUiPageBehavior.cs @@ -46,14 +46,6 @@ public interface IUiPageBehavior : IRoute /// 页面视图实例。 object View { get; } - - /// - /// 获取页面的唯一键值,并显式细化 在 UI 路由中的语义。 - /// - /// 返回当前对象的键标识符 - new string Key { get; } - - /// /// 获取页面是否处于活动状态 ///