Skip to content

Commit d983f36

Browse files
committed
change static var naming in RepairMissinScripts.cs
1 parent bb8b296 commit d983f36

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

Packages/com.unity.formats.fbx/Editor/Scripts/FbxExporterRepairMissingScripts.cs

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,26 +7,26 @@ namespace UnityEditor.Formats.Fbx.Exporter
77
{
88
public class RepairMissingScripts
99
{
10-
private const string m_forumPackageGUID = "2d81c55c4d9d85146b1d2de96e084b63";
11-
private const string m_assetStorePackageGUID = "628ffbda3fdf4df4588770785d91a698";
10+
private const string ForumPackageGUID = "2d81c55c4d9d85146b1d2de96e084b63";
11+
private const string AssetStorePackageGUID = "628ffbda3fdf4df4588770785d91a698";
1212

13-
private const string m_fbxPrefabDLLFileId = "69888640";
13+
private const string FbxPrefabDLLFileId = "69888640";
1414

15-
private const string m_idFormat = "{{fileID: {0}, guid: {1}, type:";
15+
private const string IdFormat = "{{fileID: {0}, guid: {1}, type:";
1616

17-
private static List<string> m_searchIDsToReplace;
17+
private static List<string> s_searchIDsToReplace;
1818
private static List<string> SearchIDsToReplace
1919
{
2020
get
2121
{
22-
if (m_searchIDsToReplace == null || m_searchIDsToReplace.Count <= 0)
22+
if (s_searchIDsToReplace == null || s_searchIDsToReplace.Count <= 0)
2323
{
24-
m_searchIDsToReplace = new List<string>() {
25-
string.Format(m_idFormat, m_fbxPrefabDLLFileId, m_forumPackageGUID),
26-
string.Format(m_idFormat, m_fbxPrefabDLLFileId, m_assetStorePackageGUID)
24+
s_searchIDsToReplace = new List<string>() {
25+
string.Format(IdFormat, FbxPrefabDLLFileId, ForumPackageGUID),
26+
string.Format(IdFormat, FbxPrefabDLLFileId, AssetStorePackageGUID)
2727
};
2828
}
29-
return m_searchIDsToReplace;
29+
return s_searchIDsToReplace;
3030
}
3131
}
3232

@@ -52,7 +52,7 @@ public static string GetSourceCodeSearchID()
5252
#endif
5353
if(AssetDatabase.TryGetGUIDAndLocalFileIdentifier(fbxPrefabObj, out guid, out fileId))
5454
{
55-
searchID = string.Format(m_idFormat, fileId, guid);
55+
searchID = string.Format(IdFormat, fileId, guid);
5656
}
5757
return searchID;
5858
}

0 commit comments

Comments
 (0)