# Component Selector

## Overview

This scripts allows to select gameobjects inside the hierarchy of a character.&#x20;

![](https://963537199-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lzhr1XSMzMqNXjRnNlb%2F-MZQKlXVpBhHd0a4_Onq%2F-MZQL5vU3prKRkQrzCI6%2FtqC64cn9Yj.gif?alt=media\&token=81d8dd50-924c-432f-add4-eb2133c0effd)

## How to use it

When you add the script, you will see that there's nothing init.

![](https://963537199-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lzhr1XSMzMqNXjRnNlb%2F-MZQKlXVpBhHd0a4_Onq%2F-MZQLbY48r22XxrnSPqY%2FtjzR537Qz9.gif?alt=media\&token=1b78a225-f349-458b-b68b-26b1aa2e20b8)

Open the Context menu and select Show|Hide Editor

Now with the List enabled, add a description for your Button and the gameObjects you need to select with the button.

&#x20;

![](https://963537199-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lzhr1XSMzMqNXjRnNlb%2F-MZQNMnbB_i1U3lI81Ou%2F-MZQNpnoE3MBdBEXeytG%2F5PXFwQzkZ0.gif?alt=media\&token=53913b3a-9ca3-4593-b8af-02094c01ca88)

And that's it!

## Download

{% file src="<https://963537199-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lzhr1XSMzMqNXjRnNlb%2F-MZQQFgg6GRAyDaN-zRL%2F-MZQSYEadaqRbZwXTbqA%2FComponentSelector.rar?alt=media&token=107ef2c6-a7c3-4095-bc92-4b6257ee0f25>" %}
