DeserializeCellMap() 공개 메소드

public DeserializeCellMap ( string path ) : void
path string
리턴 void
        bool DeserializeCellMaps(SpriteStudioBaker baker)
        {
            baker.cellMapList = new List<SpriteStudioCellMap>();

            if (baker.projectData.cellmapNames == null)
                return true;

            string message = null;
            try
            {
                for (int i = 0; i < baker.projectData.cellmapNames.Length; i++)
                {
                    string cellmapName = baker.projectData.cellmapNames [i];
                    message = cellmapName;
                    EditorUtility.DisplayProgressBar("Sprite Studio For Unity", "Deserialize CellMap(" + (i + 1) + "/" + baker.projectData.cellmapNames.Length + ") : " + cellmapName, 0.2f);
                    baker.DeserializeCellMap(baker.sourceDirectory + "/" + cellmapName);
                }
            } catch (Exception e)
            {
                EditorUtility.DisplayDialog("Error", "Deserialize CellMap : " + message, "OK");
                Debug.Log(e.StackTrace);
                return false;
            }
            return true;
        }