Example #1
0
	public void OnGUI ()
	{
		if(!Validate())
		{
			VPaintGUIUtility.BoxArea(8f, 8f, 1, ()=>{
				GUILayout.Label("Vertex Painter is disabled.");
			});
			return;
		}
		OnValidatedGUI ();
	}