Skip to content

Instantly share code, notes, and snippets.

@zhaogd233
Created December 6, 2021 06:29
Show Gist options
  • Select an option

  • Save zhaogd233/98def069216821753049b3df0540247e to your computer and use it in GitHub Desktop.

Select an option

Save zhaogd233/98def069216821753049b3df0540247e to your computer and use it in GitHub Desktop.

Revisions

  1. zhaogd233 created this gist Dec 6, 2021.
    2 changes: 2 additions & 0 deletions findEditorType.cs
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,2 @@
    Editor meshEditor = Editor.CreateEditor(Selection.activeObject);
    Logger.Log($"{meshEditor.GetType().Name}");