설명 없음
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

TilePaletteActiveTargetsProperties.cs 1.3KB

1234567891011121314151617181920212223242526
  1. using UnityEngine;
  2. namespace UnityEditor.Tilemaps
  3. {
  4. internal class TilePaletteActiveTargetsProperties
  5. {
  6. public enum PrefabEditModeSettings
  7. {
  8. EnableDialog = 0,
  9. EditInPrefabMode = 1,
  10. EditInScene = 2
  11. }
  12. public static readonly string targetEditModeDialogTitle = L10n.Tr("Open in Prefab Mode");
  13. public static readonly string targetEditModeDialogMessage = L10n.Tr("Editing Tilemaps in Prefabs will have better performance if edited in Prefab Mode. Do you want to open it in Prefab Mode or edit it in the Scene?");
  14. public static readonly string targetEditModeDialogYes = L10n.Tr("Prefab Mode");
  15. public static readonly string targetEditModeDialogChange = L10n.Tr("Preferences");
  16. public static readonly string targetEditModeDialogNo = L10n.Tr("Scene");
  17. public static readonly string targetEditModeEditorPref = "TilePalette.TargetEditMode";
  18. public static readonly string targetEditModeLookup = "Target Edit Mode";
  19. public static readonly string tilePalettePreferencesLookup = "Tile Palette";
  20. public static readonly GUIContent targetEditModeDialogLabel = EditorGUIUtility.TrTextContent(targetEditModeLookup, "Controls the behaviour of editing a Prefab Instance when one is selected as the Active Target in the Tile Palette");
  21. }
  22. }