using UnityEngine;
namespace UnityEditor.Polybrush
{
///
/// Static helper methods for working with reflection. Mostly used for ProBuilder compatibility.
///
static class ProBuilderInterface
{
///
/// Tests if a GameObject is a ProBuilder mesh or not.
///
///
///
internal static bool IsProBuilderObject(GameObject gameObject)
{
if (ProBuilderBridge.ProBuilderExists())
return ProBuilderBridge.IsValidProBuilderMesh(gameObject);
return false;
}
}
}