Remove dynamic judge anchors. Add judge time properties.
This commit is contained in:
@@ -77,10 +77,10 @@ namespace Cryville.Crtr.Event {
|
||||
a_head = RegisterAnchor(_a_head);
|
||||
a_tail = RegisterAnchor(_a_tail);
|
||||
}
|
||||
protected Anchor RegisterAnchor(int name, bool hasPropSrcs = false) {
|
||||
protected Anchor RegisterAnchor(int name, int propSrcCount = 0) {
|
||||
var go = new GameObject("." + IdentifierManager.SharedInstance.Retrieve(name)).transform;
|
||||
go.SetParent(gogroup, false);
|
||||
var result = new Anchor(name, go, hasPropSrcs);
|
||||
var result = new Anchor(name, go, propSrcCount);
|
||||
List<Anchor> list;
|
||||
if (!Anchors.TryGetValue(name, out list))
|
||||
Anchors.Add(name, list = new List<Anchor>());
|
||||
|
Reference in New Issue
Block a user