Edit: a new thread has been posted here .
Weaver is a tool that provides safe and robust links between your code and the rest of your project. Instead of using magic strings with Resources.Load and LayerMask.NameToLayer, Weaver procedurally generates scripts which allow you to directly reference assets and layers.
Instead of code like this:
Resources.Load<GameObject>("Creatures/Goblins/Warrior")
LayerMask.NameToLayer("HopefullyThisIsTheNameOfMyCustomLayer")
Weaver gives you properties/constants to reference assets/layers directly:
Assets.Resources.Creatures.Goblins.Warrior
Layers.TheActualNameOfMyCustomLayer
It also exposes the underlying procedural asset framework so you can easily create your own procedural assets.
Questions and suggestions are most welcome.
A few months ago I released an update for my [Procedural Asset Framework] and someone asked why you’d want to procedurally generate assets in the editor instead of just doing it at runtime. After a bit of a think I gave a few good reasons, but it reminded me of why I even made the system in the first place. All I originally wanted was a way to directly reference assets instead of using Resources.Load, and that’s what I made (albeit indirectly); you write a class to generate an asset, then you can use that same class to load the asset without worrying about misspelling the resource path or forgetting to update your code when you move some assets.
Unfortunately, procedurally generating absolutely everything in your game is generally less than ideal. Since I already had a system for procedurally generating scripts, I came up with a solution that would generate a script containing properties which load assets for you. With this new system and many drastic changes to the entire framework, I’ve decided to re-brand it to Weaver.
While I’m distributing Weaver as a separate product, this is not an attempt to double charge anyone who purchased the Procedural Asset Framework. To upgrade, simply email your Invoice Number to kybernetikgames@gmail.com and I’ll send you a free voucher for Weaver when it gets approved on the Asset Store.