public IntPtr Allocate(ref BlobBuilder builder, ref BlobVariant blobVariant, INodeDataBuilder self, ITreeNode <INodeDataBuilder>[] tree) { blobVariant.VariantId = GuidHashCode(ComponentVariant.GUID); return(builder.Allocate(ref blobVariant, new ComponentVariant.DynamicComponentData { StableHash = _stableHash, Offset = _offset })); }
private static ref T Read <T, TNodeBlob, TBlackboard>(ref BlobVariant blobVariant, int index, ref TNodeBlob blob, ref TBlackboard bb) where T : unmanaged where TNodeBlob : struct, INodeBlob where TBlackboard : struct, IBlackboard { return(ref blobVariant.Value <T>()); }
public unsafe IntPtr Allocate(ref BlobBuilder builder, ref BlobVariant blobVariant) { blobVariant.VariantId = GuidHashCode(GUID); ref var blobPtr = ref UnsafeUtility.As <int, BlobPtr <Data> >(ref blobVariant.MetaDataOffsetPtr);
public IntPtr Allocate(ref BlobBuilder builder, ref BlobVariant blobVariant) { throw new NotImplementedException(); }
public IntPtr Allocate(ref BlobBuilder builder, ref BlobVariant blobVariant, INodeDataBuilder self, ITreeNode <INodeDataBuilder>[] tree) { blobVariant.VariantId = GuidHashCode(GUID); return(builder.Allocate(ref blobVariant, _port)); }
public IntPtr Allocate(ref BlobBuilder builder, ref BlobVariant blobVariant, INodeDataBuilder self, ITreeNode <INodeDataBuilder>[] tree) { return(NodeVariant.Allocate <T>(ref builder, ref blobVariant, self, tree, NodeObject, ValueFieldName)); }