TypeSafe
Stompy Robot LTD
$10.00
Date |
Price |
---|---|
日期和时间 |
价钱($) |
03/19(2018) |
10.0 |
11/08(2024) |
10.0 |
Jump AssetStore
Website | Forum Thread | Documentation
Now supports Audio Mixers and Animators
TypeSafe is a tool for syncing changes made in the Unity Editor to your code.
By scanning the project and generating static classes from your Resources, Layers, Tags and Scenes you no longer have to rely on hard-coded ‘magic-strings’ littered around your codebase.
This has a number of benefits that improve the robustness of your code:
∙ Changes made in the Editor (such as renaming resources, layers or tags) that might introduce bugs in your code will cause compile errors instead.
∙ Misspelling layers, scenes, etc is no longer possible.
∙ It is possible to iterate over the resources in your project.
By using TypeSafe generated static classes instead of hard-coded ‘magic-strings’ you significantly decrease the chance of your code breaking due to being out of sync with your Editor configuration or file locations.
Key Features:
∙ Automatically scans your project and generates strong-typed classes than can be used to replace raw strings in your code.
∙ Using these safe classes ensures that any resource, layer or scene you try and use in code always exists.
∙ Moving, renaming or deleting a resource will cause compile errors at the place in code they were used.
Read more on the website.
Compatible with Unity 2017.4+