mirror of
https://github.com/BlackMATov/unity-iso-tools.git
synced 2025-12-15 01:12:05 +07:00
23 lines
526 B
C#
23 lines
526 B
C#
using UnityEngine;
|
|
using UnityEditor;
|
|
using IsoTools.Tiled;
|
|
using IsoTools.Internal;
|
|
|
|
namespace IsoTools.Tiled.Internal {
|
|
[CustomEditor(typeof(TiledMapTileset)), CanEditMultipleObjects]
|
|
class TiledMapTileEditor : Editor {
|
|
TiledMapTileset _tileset = null;
|
|
|
|
void OnEnable() {
|
|
_tileset = target as TiledMapTileset;
|
|
}
|
|
|
|
public override void OnInspectorGUI() {
|
|
DrawDefaultInspector();
|
|
if ( _tileset && _tileset.Properties != null ) {
|
|
_tileset.Properties.OnInspectorGUI("Tileset properties");
|
|
}
|
|
}
|
|
}
|
|
}
|