Skip to content

Commit 535e28e

Browse files
authored
Merge pull request #204 from Unity-Technologies/Uni-23220_add_tooltip_to_the_item_in_FBXprefab
Uni-23220 fix tooltip in FBXPrefab
2 parents 7108dcd + a464c4b commit 535e28e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Assets/FbxExporters/Editor/FbxPrefabInspector.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public override void OnInspectorGUI() {
1818

1919
var fbxPrefabUtility = new FbxPrefabAutoUpdater.FbxPrefabUtility (fbxPrefab);
2020
var oldFbxAsset = fbxPrefabUtility.GetFbxAsset();
21-
var newFbxAsset = EditorGUILayout.ObjectField("Source Fbx Asset", oldFbxAsset,
21+
var newFbxAsset = EditorGUILayout.ObjectField(new GUIContent("Source Fbx Asset", "The FBX file that is linked to this Prefab"), oldFbxAsset,
2222
typeof(GameObject), allowSceneObjects: false) as GameObject;
2323
if (newFbxAsset && !AssetDatabase.GetAssetPath(newFbxAsset).EndsWith(".fbx")) {
2424
Debug.LogError("FbxPrefab must point to an Fbx asset (or none).");

0 commit comments

Comments
 (0)