Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: Nseries on May 24, 2013, 09:49:39 AM

Title: DrawTexture on NGUI
Post by: Nseries on May 24, 2013, 09:49:39 AM
Hello, i need to create radar. And I don`t understand how draw on NGUI texture or sprite. What is an alternative for GUI.DrawTexture on NGUI?
Title: Re: DrawTexture on NGUI
Post by: ArenMook on May 24, 2013, 05:42:47 PM
UITexture.
Title: Re: DrawTexture on NGUI
Post by: Nseries on May 25, 2013, 09:00:29 AM
Another question. Why NGUISettings is not available?
Title: Re: DrawTexture on NGUI
Post by: hjupter on May 25, 2013, 01:27:15 PM
Hello, i need to create radar. And I don`t understand how draw on NGUI texture or sprite. What is an alternative for GUI.DrawTexture on NGUI?
Hey check this out, its maybe of your interest: http://forum.unity3d.com/threads/179471-Easy-World-Map-Minimap-Generator-Released (http://forum.unity3d.com/threads/179471-Easy-World-Map-Minimap-Generator-Released)
Title: Re: DrawTexture on NGUI
Post by: ArenMook on May 25, 2013, 08:25:25 PM
Another question. Why NGUISettings is not available?
You're asking me why your intellisense is not working? Not sure why you believe I would know an answer to this question. :P
Title: Re: DrawTexture on NGUI
Post by: Nseries on May 26, 2013, 02:23:37 AM
 NGUIsettings available in your scripts, but in my not. And it is not a static class. What do you call it?
Title: Re: DrawTexture on NGUI
Post by: Nseries on May 26, 2013, 02:29:14 AM
screenshot
Title: Re: DrawTexture on NGUI
Post by: ArenMook on May 26, 2013, 12:47:21 PM
It's an editor script. You're trying to use it from First Pass (within plugins or standard assets folder). It won't work. Unity compiles things in this order:

First Pass (Standard Assets / Plugins) -> Assets -> Editor.