Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - btrikojus

Pages: [1]
1
NGUI 3 Support / Re: scaling children with parent
« on: February 05, 2015, 08:55:15 AM »
Think I might have stumbled across a solution.  Setting the child anchors to unified, getting it working in the editor and then choosing "Set to current position" from each of the anchor dropdowns appears to have solved my problem.  Is that the best solution?

Thanks

2
NGUI 3 Support / scaling children with parent
« on: February 05, 2015, 08:39:36 AM »
Hi there,

Hoping this is possible.  I have a UI panel that scales to fit the device's screen.

https://www.dropbox.com/s/7btmsf4eldhveje/Screenshot%202015-02-06%2000.24.01.png?dl=0

The UI root scaling style is set to flexible.

https://www.dropbox.com/s/cxdmuor0paa1epq/Screenshot%202015-02-06%2000.27.01.png?dl=0

The UI panel has some children (buttons, slider etc) that I want to scale and move as the parent panel is scaled - so it is like it is a single object being scaled up and down.

Setting the anchors of a child to unified and setting the parent at the target works fine in the editor but falls down when the game is loaded on a device with a different resolution.

https://www.dropbox.com/s/37tk4r2vw130qmo/Screenshot%202015-02-06%2000.32.37.png?dl=0

I've played around with different Anchor settings but can't get it to behave like this.



Thanks in advance

3
NGUI 3 Support / Re: GUI depth
« on: November 18, 2014, 10:18:20 PM »
good to know.

Thanks

4
NGUI 3 Support / Re: GUI depth
« on: November 17, 2014, 05:06:05 PM »
ok thanks.

5
NGUI 3 Support / GUI depth
« on: November 16, 2014, 04:24:26 PM »
Hi there,

Is there ANY way to draw NGUI elements on top of built in Unity GUI elements using the latest version of NGUI? What about over GUI Texture objects?

Thanks

6
NGUI 3 Support / Re: NGUI appear over normal GUI
« on: November 11, 2014, 02:25:41 AM »
is there still no workaround for this? 

7
NGUI 3 Support / Re: MenuItem errors on import
« on: September 12, 2014, 01:34:14 AM »
never mind.  Had a custom object called MenuItem.

Thanks

8
NGUI 3 Support / Re: MenuItem errors on import
« on: September 12, 2014, 01:27:34 AM »
Just noticed that error doesn't occur if I import the plugin into a blank project.  Any idea where to find the conflict?

Thanks

9
NGUI 3 Support / MenuItem errors on import
« on: September 12, 2014, 01:21:42 AM »
Hi there,

just bought NGUI from Asset store and tried to import it into Unity 4.5.4.  Got these errors:

Assets/NGUI/Examples/Scripts/InventorySystem/Editor/InvFindItem.cs(28,10): error CS0616: `MenuItem': is not an attribute class
Assets/NGUI/Examples/Scripts/InventorySystem/Editor/InvFindItem.cs(28,10): error CS0246: The type or namespace name `MenuItemAttribute' could not be found. Are you missing a using directive or an assembly reference?

Tried deleting that script and a bunch of new (similar) errors appeared.  Tried redownloading and reimporting plugin.  Tried reimporting all assets.

Thanks

Pages: [1]