AltUnity Inspector v 1.2 is here to make your life easier! As the community using AltUnity tools is expanding, we feel that it is our responsibility to address our users’ needs and bring improvements and new features to our product as frequently as possible.
Writing tests can become messy sometimes, especially when you want to locate different objects from a scene. Paths referencing objects might be long, they can be easily misspelled and you have to run your tests in order to validate them. This is where AltUnity Inspector comes in handy, as you can make sure selectors are correct before running your tests. All you have to do is copy/write your selector in the search bar and check if the matched results are the ones you expect. In case of a valid selector, you gain more confidence in the correctness of your tests; otherwise you can adjust the path and verify its validity in real time. This will give you the chance to increase your speed and will let you focus on the more important aspects of your tests.
Besides validating your path, you can use this new functionality to search by every selector from AltUnity Tester (name, text, id, tag, layer, component, path). You can choose a selector by simply clicking it or, if you are a hotkey enthusiast, you also can navigate among selectors using the arrows from your keyboard.
Object path is a new field that we added to the element details area. If you need to locate an object to be used in your tests, you can do this in no time by copying the path from the element details area. Simple and convenient! :-).
Many of you pointed out that uniquely identifying objects is hard and takes an unreasonable amount of effort. Not anymore! AltUnity Inspector has a new feature of showing the AltId in the element details area. This is a unique value generated by AltUnity Tester for game objects that are present in the scene before building the game. You can use these ids in the search bar along with the By.Id selector to locate elements without demanding an entire path. This makes things more lightweight.
We are constantly enhancing AltUnity Inspector to provide a better experience for you. In v 1.2 we introduced memory management improvements, we upgraded the layout for property and field lists so that no more overlapping occurs, and we added minor theme and layout inconsistency fixes. Another improvement that we included in this release is that the selected object from the screenshot area is expanded and brought to focus in the hierarchy as well.
And last but not least, there is a starting point of a cool feature we have in mind that we would love to talk about. The objects displayed in the hierarchy now have a wrapper object that is the scene itself, and by right-clicking it, a menu will open, allowing to expand or collapse all the children of that specific scene. We intend to make it possible to load multiple scenes in the hierarchy to make scene and object management easier having them all in the same place.
Stay tuned for new features that are yet to come!