An open API service indexing awesome lists of open source software.

https://github.com/fhstp/unity-apply-material-all

A Unity editor utility for applying a material to all GameObjects in a hierarchy
https://github.com/fhstp/unity-apply-material-all

editor material package quality-of-life unity unity3d utility

Last synced: 2 months ago
JSON representation

A Unity editor utility for applying a material to all GameObjects in a hierarchy

Awesome Lists containing this project

README

          

# unity-apply-material-all

![Static Badge](https://img.shields.io/badge/Unity-2020.1-blue)
[![semantic-release: angular](https://img.shields.io/badge/semantic--release-angular-e10079?logo=semantic-release)](https://github.com/semantic-release/semantic-release)
[![openupm](https://img.shields.io/npm/v/at.ac.fhstp.apply-material-all?label=openupm&registry_uri=https://package.openupm.com)](https://openupm.com/packages/at.ac.fhstp.apply-material-all/)

A Unity editor utility for applying a material to all GameObjects in a hierarchy

## Usage

Hold `Alt` while dragging a material onto a game object to apply the material to the game object as well as all its children. This will replace all `MeshRenderer`s primary material.

![Demo Video](./Docs/demo.gif)

## Installation

Install via openupm using
```sh
openupm add at.ac.fhstp.apply-material-all
```