I have two fonts with the same name, but different extensions (ttf and otf). If I do
Font f = Resources.Load("Fonts/bimasakti") as Font;
the variable f
gets an instance of the otf font, which is quite reasonable as I’m guessing the loader is searching for files in alphabetical order. Anyways, if I do
Font f = Resources.Load("Fonts/bimasakti.ttf") as Font;
the variable f
gets nulled, which means that the loader can’t find the ttf font.
Why is that and how can I force the loader to load my ttf font instead of the otf?