べにやまぶろぐ

技術寄りの話を書くつもり

NGUI で The name 'XXXXXX' does not denote a valid type ('not found') と出るときはライブラリの場所を移動しよう

バージョン : Unity 4.3.4f1, NGUI 3.5.3

NGUI 久しぶりに使ったらえらい変わってた…それでもって新規プロジェクトに入れたら

The name 'UISlider' does not denote a valid type ('not found') 

…あれ?

c# - `UILabel' could not be found - Stack Overflow

SOLVED Copied all NGUI stuff in standard assest except one folder "Editor" which i Kept in Assests

うーんなんか前回こんなことやったようなやらなかったような。

そしてちょっとバージョン古い記事ですが http://www.tasharen.com/forum/index.php?topic=6.0 を見つつ Editor フォルダを Assets/Editor に、更にInteraction, Internal, Tweening, UI フォルダを Assets/Plugins/NGUI フォルダ下に放り込んだら一応解決されました。もしかするともっと奇麗にやる方法あるかもしれないです。

あと $95 とちょっとお高い NGUI ですがバージョン2系は無償で使えるようになったようですね。スポットでちょこっと使うだけなら試す価値あるのかな?

http://www.tasharen.com/?page_id=140

NGUI 2.7.0, the last of NGUI 2 cycle is now free and can be downloaded here. It’s dated September 2012, and comes in full source code form and without any kind of DRM. It’s feature-limited and not nearly as streamlined as the current NGUI 3-based releases, and doesn’t come with support — but if you can’t afford NGUI 3 or just want to try it, you’re welcome to grab it.