- Home /
Question by
D_Bbomb · Mar 25, 2018 at 10:47 PM ·
c#tilemapcustom editor
How to modify Active Tilemap / Valid Targets in Pellet Window?
I have been trying to figure out with custom brushes and editors in C# how to modify the Active Tilemap field seen highlighted in the picture.
The only reference I found in unity documentation seems to be in GridBrushEditorBase class with "GameObject[] validTargets" but that does not seem to work. So any ideas on how to access this field would be very much appreciated.
unity-question-1.png
(21.9 kB)
Comment
Answer by Da_Elf · Apr 03, 2020 at 01:14 AM
did you ever figure this out? With my custom brush that area is grayed out. i have to select the grid in the hierarchy to paint on it which is annoying
Your answer
![](https://koobas.hobune.stream/wayback/20220612155342im_/https://answers.unity.com/themes/thub/images/avi.jpg)