Ejemplo n.º 1
0
    private void SavePictures()
    {
        string word;

        if (controller.GetImages().Count > 0)
        {
            if (controller.IsEditSettings)
            {
                word = wordText.GetComponent <Text>().text;
            }
            else
            {
                word = wordFieldText.text;
            }

            if (controller.SaveTextures(word) <= 0)
            {
                // TODO: THROW AN ERROR
            }
        }
    }