Example #1
0
 public Sprite getVersionSprite(VersionOfWord Version)
 {
     if (Version == VersionOfWord.English)
     {
         return(sprite_EN);
     }
     else if (Version == VersionOfWord.French)
     {
         return(sprite_FR);
     }
     else
     {
         return(sprite_ES);
     }
 }
Example #2
0
 public void changeVersion()
 {
     if (Version == VersionOfWord.English)
     {
         sound   = "FR_" + spelling_EN;
         sound   = sound.Replace(" ", "");
         Version = VersionOfWord.French;
     }
     else if (Version == VersionOfWord.French)
     {
         sound   = "SP_" + spelling_EN;
         sound   = sound.Replace(" ", "");
         Version = VersionOfWord.Spanish;
     }
     else
     {
         sound   = "EN_" + spelling_EN;
         sound   = sound.Replace(" ", "");
         Version = VersionOfWord.English;
     }
 }