void OnWizardCreate()
    {
        GameObject go = UFTMeshUtil.createPlane(width, height);

        go.AddComponent <UFTSelectTextureFromAtlas>().atlasMetadata = atlasMetadata;
        go.renderer.material = material;

        AssetDatabase.CreateAsset(go.GetComponent <MeshFilter>().sharedMesh, AssetDatabase.GenerateUniqueAssetPath("Assets/" + meshName + ".asset"));
        AssetDatabase.SaveAssets();
    }
    IEnumerator  GeneratePlanes()
    {
        int i = 0;

        foreach (UFTAtlasEntryMetadata entryMeta in metadata.entries)
        {
            //GameObject gameObject=new GameObject();
            GameObject gameObject = UFTMeshUtil.createPlane(entryMeta.pixelRect.width, entryMeta.pixelRect.height);

            gameObject.renderer.material = material;
            gameObject.AddComponent <PlaneController>();
            UFTSelectTextureFromAtlas textAtlasScript = gameObject.AddComponent <UFTSelectTextureFromAtlas>();
            textAtlasScript.atlasMetadata = metadata;
            textAtlasScript.textureIndex  = i++;
            textAtlasScript.updateUV();
            yield return(new WaitForSeconds(newObjectTimeout));
        }
    }