Skip to content

Commit 020ccfb

Browse files
authored
dynamic builders (#11)
- support `enum` type. - support `struct` without builder. - support `BlobArray<>` with element builder only (without `ArrayBuilder`) e.g. `BlobArray<BlobArray<BlobArray<int>>>` is valid now with only `IntBuilder` - support `BlobPtr<>` without `PtrBuilder`
1 parent 490e11a commit 020ccfb

25 files changed

+751
-200
lines changed

Assets/Example.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ public struct ExampleBlob
2929
public Guid Guid;
3030
[CustomBuilder(typeof(ObjectName))] public BlobString GameObjectName;
3131
public AnimationCurveBlob AnimationCurve;
32-
}
33-
34-
public class ExampleBlobBuilder : BlobDataBuilder<ExampleBlob> {}
32+
public ComponentType.AccessMode Enum;
33+
public BlobArray<BlobArray<BlobArray<BlobPtr<BlobString>>>> Arrays;
34+
}

0 commit comments

Comments
 (0)