Browse Source

Added tooltip for Target Object class.

master
chrisgregan 10 years ago
parent
commit
a2d0ee73e4
  1. 2
      Assets/Fungus/FungusScript/Editor/TargetObjectDrawer.cs

2
Assets/Fungus/FungusScript/Editor/TargetObjectDrawer.cs

@ -17,7 +17,7 @@ namespace Fungus
SerializedProperty targetTypeProp = property.FindPropertyRelative("targetType"); SerializedProperty targetTypeProp = property.FindPropertyRelative("targetType");
SerializedProperty otherGameObjectProp = property.FindPropertyRelative("otherGameObject"); SerializedProperty otherGameObjectProp = property.FindPropertyRelative("otherGameObject");
EditorGUI.PropertyField(position, targetTypeProp, new GUIContent("Game Object")); EditorGUI.PropertyField(position, targetTypeProp, new GUIContent("Game Object", "Select either the owner game object or another object in the scene."));
if (targetTypeProp.enumValueIndex == 0) if (targetTypeProp.enumValueIndex == 0)
{ {

Loading…
Cancel
Save