Fix polysec.part. Enable judge anchor.

This commit is contained in:
2023-01-13 16:46:29 +08:00
parent 6efe70d751
commit 1d3aa85446
2 changed files with 3 additions and 3 deletions

View File

@@ -19,7 +19,7 @@ namespace Cryville.Crtr.Components {
public SectionalGameObject() {
SubmitProperty("partial", new PropOp.Boolean(v => part = Part.idle));
SubmitProperty("part", new PropOp.Enum<Part>(v => part = v, v => (Part)v));
SubmitProperty("part", new PropOp.Enum<Part>(v => part = v, v => (Part)v), 2);
}
protected override void OnDestroy() {

View File

@@ -119,8 +119,8 @@ namespace Cryville.Crtr {
if (cs.Working) {
foreach (var j in judges.Values) {
if (!j.Judged) continue;
// PushAnchorEvent(j.AbsoluteAnchorName, j.AbsoluteTime);
// PushAnchorEvent(j.RelativeAnchorName, j.RelativeTime + cs.Time);
PushAnchorEvent(j.AbsoluteAnchorName, j.AbsoluteTime);
PushAnchorEvent(j.RelativeAnchorName, j.RelativeTime + cs.Time);
}
}
}