示例#1
0
 private static void OpenWindowFromMenu_Tool()
 {
     ToolCommon.SetSelectedMaterials(MatSelectMode.FromSceneOrAsset);
     GetWindow <ToolMigrationWindow>("UnlitWF/Migration material");
 }
示例#2
0
 private static void OpenWindowFromMenu_Asset()
 {
     ToolCommon.SetSelectedMaterials(MatSelectMode.FromAssetDeep);
     GetWindow <ToolResetWindow>("UnlitWF/Reset material property");
 }
示例#3
0
 private static void OpenWindowFromMenu_Tool()
 {
     ToolCommon.SetSelectedMaterials(MatSelectMode.FromSceneOrAsset);
     GetWindow <ToolCopyWindow>("UnlitWF/Copy material property");
 }
示例#4
0
 [MenuItem(WFMenu.GAMEOBJECT_CREANUP, priority = 10)] // GameObject/配下は priority の扱いがちょっと特殊
 private static void OpenWindowFromMenu_GameObject()
 {
     ToolCommon.SetSelectedMaterials(MatSelectMode.FromScene);
     GetWindow <ToolCreanUpWindow>("UnlitWF/CleanUp material property");
 }