Implement new transition.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using Cryville.Common;
|
||||
using Cryville.Common.Collections.Specialized;
|
||||
using Cryville.Common.Pdt;
|
||||
using Newtonsoft.Json;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
@@ -237,6 +238,7 @@ namespace Cryville.Crtr {
|
||||
result += "#" + node.Id;
|
||||
if (node.Time != null) result += "@" + node.Time.ToString();
|
||||
if (node.EndTime != null) result += "~" + node.EndTime.ToString();
|
||||
if (node.Transition != null) result += "^" + node.Transition.ToString();
|
||||
if (node.Value != null) result += ":" + node.Value.ToString();
|
||||
}
|
||||
else {
|
||||
@@ -264,6 +266,9 @@ namespace Cryville.Crtr {
|
||||
[JsonIgnore]
|
||||
public MotionNode Node;
|
||||
|
||||
[JsonConverter(typeof(JsonPdtExpConverter))]
|
||||
public PdtExpression transition;
|
||||
|
||||
[DefaultValue(0.0f)]
|
||||
public float sumfix = 0.0f;
|
||||
|
||||
|
Reference in New Issue
Block a user