diff --git a/content/0-5.rst b/content/0-5.rst index c7c508a..87b61e8 100644 --- a/content/0-5.rst +++ b/content/0-5.rst @@ -122,6 +122,23 @@ taken from the UI sample available in the engine showcasing the text rendering i **Note:** Currently only the ASCII charset is supported, UTF-8 support will be worked on in a future release. +Allow identifying assets in code from their path :dim:`(@GalaxyCrush)` +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Assets could only be identified by their UUID, which could sometimes be confusing when working with multiple assets. +Now, they are able to be identified by their path, thus allowing for better compression when developing projects with CUBOS. +E.g., you can now do: + +.. code-block:: cpp + + Asset SceneAsset = AnyAsset("/path/to/asset"); + +instead of: + +.. code-block:: cpp + + Asset SceneAsset = AnyAsset("uuid"); + On the Core -----------