public void Rename(string newFileName) { var newPath = EditorSerializedFieldUtility.CreateEditorFieldPath(newFileName); Delete(newPath); File.Move($"{m_path}.json", $"{newPath}.json"); m_fileName = newFileName; m_path = newPath; }
public EditorSerializedField(string fileName) { m_fileName = fileName; m_path = EditorSerializedFieldUtility.CreateEditorFieldPath(m_fileName); }