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.


Topics - smtabatabaie

Pages: [1]
1
NGUI 3 Support / Reduce size of atlas
« on: April 03, 2017, 09:53:53 AM »
Hi, Recently I did a build on my app on iOS and observed it was too large , after seeing the editor.log I saw that it was because my main atlas. This atlas has 40 icons in it. the size of its png texture is 1.3 mb in finder but in unity it says it is 85.3 mb! the texture is 4096 truecolor. I tried to make it 2048 and it helped a lot but the problem is all the sprites smash together and are not shown correctly. I'll appreciate if you know any tips on how to reduce the size of my atlas.
Thanks very much

2
Hi, I have a setup much like instagram explore , which has a scrollView with a grid of cells inside. and in the footer of the app I have some buttons which has higher depth of the cells. which looks like this :


The problem is the footer and all its items has more depth than the cells but the cells get the click and prevents the footer buttons from getting the click. the hierarchy looks like this :

-ScrollView
--Grid
---Cell1
---Cell2
---Cell3
-Footer
--Btn1
--Btn2
--Btn3

I'll appreciate if anyone can help me with this.
Thanks

3
NGUI 3 Support / Clicking buttons inside Grid
« on: December 07, 2016, 03:16:28 PM »
Hi, I have a ScrollView which has a Grid which has some buttons inside it. the hierarchy looks like this :
-ScrollView
--Grid
---Button1
---Button2
---Button3
My buttons are instantiated at start and then I reposition Grid to sort the buttons inside my gird. The problem is I can't click my buttons unless I disable the collider of my grid. However if I don't instantiate my buttons and just have them normally inside my grid , I can click them without problem.
I'll appreciate if you can help me with this.
Thanks very much
Best

4
NGUI 3 Support / Button inside ScrollView
« on: June 16, 2016, 04:44:44 PM »
Hi, I have a scroll view which has lots of buttons in it. It works well if I scroll on empty parts, but if I try to scroll on the parts which has buttons the button gets the event not the scrollview. What I'm trying to is to be able to scroll on the buttons.
I'll appreciate if you can help me with this.
Thanks

5
NGUI 3 Support / NGUI drag and drop puzzle game
« on: March 04, 2016, 04:18:38 AM »
Hi, I'm trying to make a puzzle game with NGUI. It has an inventory spot which the pieces are located and an empty canvas with multiple containers for pieces. I can make drag and drop functionality but I want to also be able to check if the correct piece has been assigned to the correct container and only if so stick the piece to the container and otherwise if it is the wrong piece return it to its initial location.
I'll appreciate if you can help me with this.
Thanks

6
NGUI 3 Support / NGUI autocomplete
« on: August 03, 2015, 11:36:28 AM »
Hi , I wanted to ask if NGUI has any features to let you have a dictionary for an input field and as the user types in shows the suggestions based on the dictionary.
Thanks

Pages: [1]