Extract assets from unity

broken image
broken image

You can either do a Harmony patch and override a method or check if the element implements a component referenced by a singleton class such as CanvasHandler.Īn other way is to extract the assets and look them all up (see below) Use Unity’s Resources class You will need to find an element that has the asset that you want and print its name. This part is a bit tricky and will require a LOT of digging on your part. Programatically (advanced) Finding the name of the asset Here is how you can retrieve and use those assets. However, you might need to use other assets in your mod. The ModKit provides a few basic assets, namely sprites for the buttons and panels.

broken image