- Home /
Question by
Long2904 · Mar 25, 2020 at 11:32 AM ·
gameobjecttilemapcustom-inspectorpreviewoninspectorgui
How to show preview tile even when i don't select the gameobject in the hierachy?
I use tilemap.SetEditorPreviewTile to preview tile in a function and called this function in a custom inspector script (In the OnInspectorGui). First the function clear all preview tile and then begin to set tile. But when i don't select the gameobject in the hierachy it don't show any tiles. How to make it still show the preview tile even when i don't select the gameobject?
Comment
Your answer
Follow this Question
Related Questions
How to make a custom inspector to preview tile? 0 Answers
How do you use submeshes correctly? 3 Answers
Custom inspector resets values when refreshing 1 Answer
How to find all gameObjects in a bounding area? 2 Answers
How to number tiles ? 1 Answer