Optimize anchor identifiers.

This commit is contained in:
2022-12-22 14:06:05 +08:00
parent 451ebbe91a
commit 8175ca7e82
4 changed files with 27 additions and 20 deletions

View File

@@ -1,3 +1,4 @@
using Cryville.Common;
using Cryville.Common.Pdt;
using Cryville.Crtr.Components;
using Cryville.Crtr.Event;
@@ -88,9 +89,9 @@ namespace Cryville.Crtr {
}
}
public class Anchor : SkinSelector {
public string Name { get; private set; }
public int Name { get; private set; }
public Anchor(string name) {
Name = name;
Name = IdentifierManager.SharedInstance.Request(name);
}
public override bool IsStatic {
get { return true; }