Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: Demigoth on March 04, 2014, 07:31:32 PM

Title: UIFontMaker CS error when I import the package
Post by: Demigoth on March 04, 2014, 07:31:32 PM
So I bought this from the asset store and imported the package, then I got this error and I don't know how to fix it.

Assets/NGUI/Scripts/Editor/UIFontMaker.cs(203,74): error CS0117: `Path' does not contain a definition for `GetFileName'

If you guys can give me a hand, I would be deeply thankful!
Title: Re: UIFontMaker CS error when I import the package
Post by: ArenMook on March 05, 2014, 06:35:27 AM
Sounds like you have your own class named "Path" polluting the global namespace which conflicts with the system class named "Path" which resides in System.IO.

http://msdn.microsoft.com/en-us/library/system.io.path.getfilename(v=vs.110).aspx