Skip to content

Asset Component Features

Also explained in the overview video:

You can add it by pressing Add Component and searching for AddAllIn1Vfx:

The Add Component search box with addAllIn1V typed and the AddAllIn1Vfx script highlighted in the results

Once added the component will look like this:

The AddAllIn1Vfx component in the Inspector with its buttons: Deactivate All Effects, New Clean Material, Create New Material With Same Properties, Save Material To Folder, Apply Material To All Children, Render Material To Image, Add Particle System Helper, Remove Component and Remove Component And Material
  • Deactivate All Effects: It will deactivate all effects but won’t modify any properties. So if you activate an effect again you will obtain your previous visual results.
  • New Clean Material: It will create a new instance of the AllIn1Vfx material and assign it to the Renderer.
  • Create New Material With Same Properties (SEE DOC): It will create a new instance of the AllIn1Vfx material with the same properties of the previous one. This is useful when you want to create a variant of the current material.
  • Save Material To Folder (SEE DOC): Creates a Material asset with the name of the current GameObject and by default saves it in the following path: “Assets/AllIn1Exports/AllIn1VfxToolkit/Materials” but the path can be changed in the Asset Window. This can be used to assign the same Material to many different Renderers.
  • Apply Material To All Children: Applies the material of the current selected object to all the objects under its hierarchy.
  • Render Material To Image: Renders current Texture + Material to an image texture. You can read more about this in the Render Material To Image section.
  • Add Particle System Helper: Adds the Particle System Helper component. This option is only available when a Particle System is present in the current Gameobject and it has no Particle System Helper yet
  • Remove Component: Removes the component without changing anything else
  • REMOVE COMPONENT AND MATERIAL: Removes the component from the GameObject and assigns a new material using the Sprites/Default shader, on any Renderer or UI Graphic.