Author Topic: Use "Easy Font" with NGUI?  (Read 4371 times)

Peacewise

  • Newbie
  • *
  • Thank You
  • -Given: 2
  • -Receive: 0
  • Posts: 12
    • View Profile
Use "Easy Font" with NGUI?
« on: June 10, 2014, 01:27:31 PM »
I am using a package called Easy Font, which creates high quality text (specifically, high quality outlines and shadows, smoother and more readable than NGUI's).

However, I don't know how (or if it's even possible) to drop a normal game object, normal unity 3D text mesh, or other object like an Easy Font text mesh into NGUI's UIRoot hierarchy and then still have it draw correctly as if it were, say, an NGUI label. When running, the object is at a different position and with a different scale than in the Editor.

Is it possible to somehow use other objects like this under the UIRoot structure?

Nicki

  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Given: 33
  • -Receive: 141
  • Posts: 1,768
    • View Profile
Re: Use "Easy Font" with NGUI?
« Reply #1 on: June 10, 2014, 04:25:04 PM »
It's possible, but you have to have it in the right layers and position them right. For stuff that's not widgets, usually they're responsible for "drawing" themselves, so if the camera can see them, they're drawn as you'd imagine. You have no control through panels though, but they will follow gameObject.SetActive as normal so you can "associate" them with screens in that way.

You can't use GUIText or OnGUI properly together with NGUI though as they're always drawn on top and have entirely different rules as for how they work.