Skip to content

First Steps (Must Read)

The asset includes a component that will do all the setup for you. The component is called “AllIn1Shader”, and you add it from Add Component → AllIn1SpriteShader → AddAllIn1Shader, which is also the name the Inspector shows for it:

The Add Component menu open on the AllIn1SpriteShader folder, with the AddAllIn1Shader component highlighted

When you add it, the component gives the object a new AllIn1SpriteShader material if it still has a default material (or none), in the variant set as Default Asset Shader on the Others tab of the Asset Window. A material that is already yours is kept. The component also has some features that are overviewed in Asset Component Features.

If you want to use the asset material in a prefab make sure to read saving-prefabs.

Here you have a link to a video that gives an overview of the asset in case you prefer a visual explanation:

But you can also do it the classic way: right clicking the AllIn1SpriteShader and then going Create->Material. You can then name this material and drag it into the Sprite Renderer Material slot in the Inspector of the desired Sprite:

A Sprite Renderer showing the spaceSoldier sprite, with an arrow pointing at its Material slot, still on Sprites-Default

The same process can be followed for UI Images, Particle Systems, Tilemap Renderers, Sprite Shapes and Mesh Renderers.

The AllIn1SpriteShader Material Inspector with Fade on

Once the Material is added you’ll see the Material Inspector. You can enable the effects you want to be displayed by clicking the toggle boxes and change the properties values usually by using a slider. You can also change these values via scripting (see Scripting section).

Make sure that “Animated Materials” is checked in the Scene view (in some versions called “Always Refresh”):

The Scene view's effects dropdown with Animated Materials ticked and highlighted, so effects animate in the Scene view