Jump to content
Sign in to follow this  

Probuilderize Button

Recommended Posts

It would be pretty easy to a keyboard shortcut - just create an editor script.  A button would require modifying pb_Editor; there's not a way currently to add custom buttons (but it is something we'd like to do).


using UnityEngine;
using UnityEditor;
using ProBuilder2.Actions;

public class ProBuilderizeShortcut : Editor
	[MenuItem("Tools/ProBuilder/Actions/ProBuilderize %#p")]
	static void init()
		// this attempts to preserve faces
		// or this doesn't
		// pb_ProBuilderize.MenuProBuilderizeTris2();

Share this post

Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in

Sign In Now
Sign in to follow this