Fixes to DevDebug for AdditionalTiles and MainPathExtender
Changed entry to DevDebug mode to LeftAlt + M
This commit is contained in:
		
							parent
							
								
									d955f6e930
								
							
						
					
					
						commit
						cd9b233040
					
				
					 11 changed files with 59 additions and 17 deletions
				
			
		|  | @ -70,15 +70,15 @@ namespace DunGenPlusEditor { | |||
| 
 | ||||
|   } | ||||
| 
 | ||||
|   [CustomPropertyDrawer(typeof(ForcedTilesProperties))] | ||||
|   [CustomPropertyDrawer(typeof(AdditionalTilesProperties))] | ||||
|   public class ForcedTilesPropertiesPropertyDrawer : PropertyDrawer { | ||||
| 
 | ||||
|     public override VisualElement CreatePropertyGUI(SerializedProperty property) { | ||||
| 
 | ||||
|       var container = new VisualElement(); | ||||
| 
 | ||||
|       var box = PropertyDrawerUtility.CreateDropdown(property, "Forced Tiles"); | ||||
|       PropertyDrawerUtility.SetupItemsBoolProperty(box.container, property, "UseForcedTiles", "Disabled"); | ||||
|       var box = PropertyDrawerUtility.CreateDropdown(property, "Additional Tiles"); | ||||
|       PropertyDrawerUtility.SetupItemsBoolProperty(box.container, property, "UseAdditionalTiles", "Disabled"); | ||||
|       container.Add(box.parent); | ||||
| 
 | ||||
|       return container; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue