Browse Source

Tell user that all character portraits should be same dimensions #102

master
chrisgregan 10 years ago
parent
commit
2d293b68a7
  1. 6
      Assets/Fungus/Narrative/Editor/CharacterEditor.cs

6
Assets/Fungus/Narrative/Editor/CharacterEditor.cs

@ -55,8 +55,14 @@ namespace Fungus
if (characterTexture != null) if (characterTexture != null)
GUI.DrawTexture(previewRect,characterTexture,ScaleMode.ScaleToFit,true,aspect); GUI.DrawTexture(previewRect,characterTexture,ScaleMode.ScaleToFit,true,aspect);
} }
ReorderableListGUI.Title(new GUIContent("Portraits", "Character image sprites to display in the dialog")); ReorderableListGUI.Title(new GUIContent("Portraits", "Character image sprites to display in the dialog"));
ReorderableListGUI.ListField(portraitsProp); ReorderableListGUI.ListField(portraitsProp);
EditorGUILayout.HelpBox("All portrait images should use the exact same resolution to avoid positioning and tiling issues.", MessageType.Info);
EditorGUILayout.Separator();
string[] facingArrows = new string[] string[] facingArrows = new string[]
{ {
"FRONT", "FRONT",

Loading…
Cancel
Save