Author Topic: UIFontMaker CS error when I import the package  (Read 2987 times)

Demigoth

  • Newbie
  • *
  • Thank You
  • -Given: 2
  • -Receive: 0
  • Posts: 18
    • View Profile
UIFontMaker CS error when I import the package
« 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!

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: UIFontMaker CS error when I import the package
« Reply #1 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