Author Topic: DrawTexture on NGUI  (Read 4018 times)

Nseries

  • Guest
DrawTexture on NGUI
« 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?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: DrawTexture on NGUI
« Reply #1 on: May 24, 2013, 05:42:47 PM »
UITexture.

Nseries

  • Guest
Re: DrawTexture on NGUI
« Reply #2 on: May 25, 2013, 09:00:29 AM »
Another question. Why NGUISettings is not available?

hjupter

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 47
    • View Profile
Re: DrawTexture on NGUI
« Reply #3 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

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: DrawTexture on NGUI
« Reply #4 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

Nseries

  • Guest
Re: DrawTexture on NGUI
« Reply #5 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?

Nseries

  • Guest
Re: DrawTexture on NGUI
« Reply #6 on: May 26, 2013, 02:29:14 AM »
screenshot

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: DrawTexture on NGUI
« Reply #7 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.