Exemplo n.º 1
0
 public LDtkSectionIntGrids(SerializedObject serializedObject) : base(serializedObject)
 {
     _buttonContent = new GUIContent()
     {
         text    = "+",
         image   = LDtkIconUtility.LoadIntGridIcon(),
         tooltip = "Create a new IntGrid tile asset."
     };
 }
Exemplo n.º 2
0
 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());
 }