Tiled2Unity icon indicating copy to clipboard operation
Tiled2Unity copied to clipboard

ICustomTiledImporter not called

Open Foveluy opened this issue 5 years ago • 0 comments

Great tool, nice job.

I have able to import my tile map into unity by using this awesome tool

but when try to access my tile info, it become handy.

using UnityEngine;
using System.Collections;
using System.Collections.Generic;

[Tiled2Unity.CustomTiledImporter]
public class CustomImporter_StrategyTiles : Tiled2Unity.ICustomTiledImporter
{

    public void HandleCustomProperties(GameObject gameObject,
        IDictionary<string, string> customProperties)
    {
       
        Debug.Log("213123");
    }

    public void CustomizePrefab(GameObject prefab)
    {
        // Do nothing
    }
}

the code above doesn't get called.

2018-12-13 11 24 01

i did add an Editor to handle this, but still not work as i expect. Any help from you?

Foveluy avatar Dec 13 '18 15:12 Foveluy