public static ImportSpineContent ( string imported, bool reimport = false ) : void | ||
imported | string | |
reimport | bool | |
return | void |
void DoReimport() { SpineEditorUtilities.ImportSpineContent(new [] { AssetDatabase.GetAssetPath(skeletonJSON.objectReferenceValue) }, true); preview.Clear(); InitializeEditor(); EditorUtility.SetDirty(targetSkeletonDataAsset); }
void DoReimport() { SpineEditorUtilities.ImportSpineContent(new string[] { AssetDatabase.GetAssetPath(skeletonJSON.objectReferenceValue) }, true); if (m_previewUtility != null) { m_previewUtility.Cleanup(); m_previewUtility = null; } OnEnable(); // Should call RepopulateWarnings. EditorUtility.SetDirty(m_skeletonDataAsset); }