private static string GetRootPrefabPath(GameObject go)
        {
            var prefab    = SkinnedMeshUtility.IsPrefab(go) ? go : SkinnedMeshUtility.GetPrefab(go);
            var assetPath = "";

            if (prefab != null)
            {
                var prefabPath = AssetDatabase.GetAssetPath(prefab);
                assetPath = string.Format("{0}/", Path.GetDirectoryName(prefabPath));
            }
            else
            {
                assetPath = string.Format("Assets/");
            }
            assetPath = assetPath.Replace(@"\", @"/");
            return(assetPath);
        }
        private static void Foo()
        {
            var go = Selection.activeObject as GameObject;

            Debug.Log(SkinnedMeshUtility.IsPrefab(go));
        }
 private static bool ExportValidate()
 {
     return(Selection.activeObject != null &&
            Selection.activeObject is GameObject &&
            SkinnedMeshUtility.IsPrefab(Selection.activeObject));
 }
 public static bool IntegrateValidation()
 {
     return(Selection.activeObject != null &&
            Selection.activeObject is GameObject &&
            SkinnedMeshUtility.IsPrefab(Selection.activeObject));
 }