From c7e7bd8a7780d1a029231cd0520a53e4fc8b9b0c Mon Sep 17 00:00:00 2001 From: PopSlime Date: Wed, 1 Mar 2023 00:33:28 +0800 Subject: [PATCH] Add Identifier.Empty. --- Assets/Cryville/Common/Identifier.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Assets/Cryville/Common/Identifier.cs b/Assets/Cryville/Common/Identifier.cs index bb7ce9c..4581401 100644 --- a/Assets/Cryville/Common/Identifier.cs +++ b/Assets/Cryville/Common/Identifier.cs @@ -2,6 +2,7 @@ namespace Cryville.Common { public struct Identifier : IEquatable { + public static Identifier Empty = new Identifier(0); public int Key { get; private set; } public object Name { get { return IdentifierManager.SharedInstance.Retrieve(Key); } } public Identifier(int key) {