UnityEditor 获取FileID/LocalIdentfierInFile
private static int GetLocalIdentfierInFile(UnityEngine.Object obj) {
PropertyInfo info = typeof(SerializedObject).GetProperty("inspectorMode", BindingFlags.NonPublic | BindingFlags.Instance);
SerializedObject sObj = new SerializedObject(obj);
info.SetValue(sObj, InspectorMode.Debug, null);
SerializedProperty localIdProp = sObj.FindProperty("m_LocalIdentfierInFile");
return localIdProp.intValue;
}