mirror of
https://github.com/BlackMATov/unity-iso-tools.git
synced 2025-12-13 15:52:03 +07:00
21 lines
433 B
C#
21 lines
433 B
C#
using UnityEngine;
|
|
using UnityEditor;
|
|
|
|
namespace IsoTools.Tiled.Internal {
|
|
[CustomEditor(typeof(TiledMap)), CanEditMultipleObjects]
|
|
class TiledMapMapEditor : Editor {
|
|
TiledMap _map = null;
|
|
|
|
void OnEnable() {
|
|
_map = target as TiledMap;
|
|
}
|
|
|
|
public override void OnInspectorGUI() {
|
|
DrawDefaultInspector();
|
|
if ( _map && _map.Properties != null ) {
|
|
_map.Properties.OnInspectorGUI("Map properties");
|
|
}
|
|
}
|
|
}
|
|
}
|