Beispiel #1
0
 protected override void Build(ref VariablesTestNode data, BlobBuilder builder, ITreeNode <INodeDataBuilder>[] builders)
 {
     LongVariable.Allocate(ref builder, ref data.LongVariable);
     builder.AllocateString(ref data.String, String);
     builder.AllocateArray(ref data.IntArray, IntArray);
     DestVariable.Allocate(ref builder, ref data.DestVariable);
     SrcVariable.Allocate(ref builder, ref data.SrcVariable);
 }
Beispiel #2
0
 protected override void Build(ref InputMoveToCharacterVelocityNode data, BlobBuilder builder, ITreeNode <INodeDataBuilder>[] tree)
 {
     SpeedProperty.Allocate(ref builder, ref data.Speed);
     InputMoveProperty.Allocate(ref builder, ref data.InputMove);
     OutputVelocityProperty.Allocate(ref builder, ref data.OutputVelocity);
 }