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)); }
public static AssetBundleTree GetRootAsAssetBundleTree(ByteBuffer _bb, AssetBundleTree obj) { return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }