Added the ability for assets to be considered components and have OnRemove callbacks

Signed-off-by: Robear Selwans <robear.selwans@outlook.com>
This commit is contained in:
2021-06-01 05:17:45 +02:00
parent 5ccbacd25f
commit 70f0449a7b
5 changed files with 66 additions and 7 deletions

View File

@@ -3,6 +3,5 @@ TYPE(AssetHandle, GenericHandle)
/* #include LOADERS_TYPES_H */
TYPE(TextAsset, struct {
CONST_STR text;
U64 length;
evstring text;
})