private void Save() { string assetPath = AssetDatabase.GetAssetPath(m_element.GetInstanceID()); if (string.IsNullOrEmpty(m_element.m_id)) { m_element.m_id = m_element.name; } else { AssetDatabase.RenameAsset(assetPath, m_element.m_id); } AssetDatabase.SaveAssets(); }