Fixed compile error in some method I'm not sure why, but it wasn't used 🤷

This commit is contained in:
Simon Lübeß
2024-04-10 13:50:40 +02:00
parent f05cf721e8
commit 9640b153f6
+3 -2
View File
@@ -315,10 +315,11 @@ struct AssetHandle<T> where T : Asset
}
// TODO: Cast up?
public AssetHandle<NewT> Cast<NewT>() where NewT : T
// TODO: Wasn't used, if needed, fix...
/*public AssetHandle<NewT> Cast<NewT>() where NewT : T
{
return AssetHandle<NewT>(this._handle, this._contentManager);
}
}*/
static void AssetSerialize(BonWriter writer, ValueView value, BonEnvironment environment, SerializeValueState state)
{