예제 #1
0
 public static Offset <AssetBundleTree> CreateAssetBundleTree(FlatBufferBuilder builder,
                                                              Offset <FileHeader> fileHeaderOffset = default(Offset <FileHeader>),
                                                              VectorOffset assetBundlesOffset      = default(VectorOffset))
 {
     builder.StartObject(2);
     AssetBundleTree.AddAssetBundles(builder, assetBundlesOffset);
     AssetBundleTree.AddFileHeader(builder, fileHeaderOffset);
     return(AssetBundleTree.EndAssetBundleTree(builder));
 }
예제 #2
0
 public static AssetBundleTree GetRootAsAssetBundleTree(ByteBuffer _bb, AssetBundleTree obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }