protected override void Build(ref CharacterSimpleMoveNode data, BlobBuilder builder, ITreeNode <INodeDataBuilder>[] tree)
 {
     data.IsLocal = IsLocal;
     VelocityProperty.Allocate(ref builder, ref data.Velocity, this, tree);
 }
 protected override void Build(ref InputMoveToRotationNode data, BlobBuilder builder, ITreeNode <INodeDataBuilder>[] tree)
 {
     InputMoveProperty.Allocate(ref builder, ref data.InputMove, this, tree);
     OutputDirectionProperty.Allocate(ref builder, ref data.OutputDirection, this, tree);
 }
示例#3
0
 protected override void Build(ref InputMoveToCharacterVelocityNode data, BlobBuilder builder, ITreeNode <INodeDataBuilder>[] tree)
 {
     SpeedProperty.Allocate(ref builder, ref data.Speed, this, tree);
     InputMoveProperty.Allocate(ref builder, ref data.InputMove, this, tree);
     OutputVelocityProperty.Allocate(ref builder, ref data.OutputVelocity, this, tree);
 }
示例#4
0
 protected override void Build(ref InputLookNode data, BlobBuilder builder, ITreeNode <INodeDataBuilder>[] tree)
 {
     base.Build(ref data, builder, tree);
     Output.Allocate(ref builder, ref data.Output, this, tree);
 }
示例#5
0
 protected override void Build(ref SetTransformRotationNode data, BlobBuilder builder, ITreeNode <INodeDataBuilder>[] tree)
 {
     RotationProperty.Allocate(ref builder, ref data.RotationProperty, this, tree);
 }