public LDtkSectionIntGrids(SerializedObject serializedObject) : base(serializedObject) { _buttonContent = new GUIContent() { text = "+", image = LDtkIconUtility.LoadIntGridIcon(), tooltip = "Create a new IntGrid tile asset." }; }
protected override void DrawInspectorGUI() { DrawCountOfItems(_layerCount, "Layer", "Layers", LDtkIconUtility.LoadLayerIcon()); DrawCountOfItems(_intGridValueCount, "Int Grid Value", "Int Grid Values", LDtkIconUtility.LoadIntGridIcon()); DrawCountOfItems(_entityCount, "Entity", "Entities", LDtkIconUtility.LoadEntityIcon()); DrawCountOfItems(_gridTileCount, "Grid Tile", "Grid Tiles", LDtkIconUtility.LoadTilesetIcon()); DrawCountOfItems(_autoTileCount, "Auto Tile", "Auto Tiles", LDtkIconUtility.LoadAutoLayerIcon()); }