Questions tagged [scrollrect]

42 questions
13
votes
2 answers

What I Have Learned About Unity ScrollRect / ScrollView Optimization / Performance

ScrollView performance is a real drag (get it?), especially on mobile platforms. I frequently found myself getting less that 15 fps which left the user experience feeling jolting and underwhelming. After a lot of research and testing I have compiled…
Phedg1
  • 1,888
  • 3
  • 18
  • 35
3
votes
0 answers

Unity 2019.4.4f1 ScrollView ScrollRect won't scroll with ScrollBar but works with mouse wheel

I have a ScrollView with a ScrollRect on a Panel that appears when an object is clicked. The Content has a ContentSizeFitter and a GridLayoutGroup with 3 columns. I have 9 images pre-populated as children of Content. Everything works great, the 9…
pandron
  • 43
  • 1
  • 8
3
votes
2 answers

How to detect if a scrollrect is close to reach its bottom?

everyone! I'm making a scrollable list and want to simple add more elements to it when it is reaching its bottom. Basically an infinite list with content being added to it "on demand". I've tried to get the scrollrect's verticalNormalizedPosition…
mvpires
  • 43
  • 1
  • 6
2
votes
1 answer

ActionScript - Problem moving scrollRect with cacheAsBitmap

in order to increase performance of a scrollRect i must cache the vector as a bitmap, otherwise the scrollRect will be simply a less performant mask (info source). however, i can't seem to move an object/scrollRect once i've applied cacheAsBitmap. …
Chunky Chunk
  • 16,553
  • 15
  • 84
  • 162
2
votes
1 answer

zoom and change color Ui when Scrolling

I have ScrollRect with number inside (is working fine) I want when if any number position is in image with blue color than number change color (red) and also increase font size i don't know how to achieve that please help
queen nana
  • 83
  • 5
2
votes
0 answers

AS3: ScrollRect not moving from two points without jumping frame content

I'm using a Spritesheet in an AS3 project, and upgrading from using a very resource heavy method of cutting up the bitmap into each frame and then storing them, to using scrollRect so it just displays the required frame. That is working mostly fine…
Tempy111
  • 21
  • 1
2
votes
0 answers

How to make cover flow effect to the menu

I am trying to develop a loop menu through Scrollrect, and I want to make it as the picture to the menu, how should I do?? For this effect, I have two questions, one is how should I do to make the long distance objects with a smaller scale the…
DanZix
  • 21
  • 2
  • 2
2
votes
5 answers

Drag and Drop In ScrollRect (ScrollView) in Unity3D

I want to implement drag and drop on contents of scroll view. The problem is when you try drag items in scroll view you can't scroll the view. First, I've tried to implement drag and drop by IDragHandler, IBeginDragHandler, IEndDragHandle and…
2
votes
1 answer

How to detect scrolling up or down in panel for Unity3d?

I would like detect scrolling up or down. Should be like Windows Form below. private void dgv_Scroll(object sender, ScrollEventArgs e) { if (e.OldValue > e.NewValue) { // here up } else { …
ali Sevgi
  • 23
  • 1
  • 1
  • 4
2
votes
1 answer

Unable to scroll in Scroll rect with input fields Unity

I have a problem which makes me crazy. I have created a scroll rect in unity with a lot of Input Field's like in picture below. My problem is : I can't scroll!!! Every time when I try, the keyboard it's opened. Scroll it's able just if I hit the…
Gaby Fitcal
  • 1,814
  • 1
  • 17
  • 28
2
votes
1 answer

How to make a Unity Scroll Rect NOT overflow?

I have a scroll rect that has input fields in it, and I would like it so that the user only sees things that are currently in it. Right now it is overflowing and has everything in it going out below it. I would like it so that these bottom fields do…
2
votes
1 answer

How to recycle unity scroll list of game objects?

In my game, I have a scrollrect which its content have a VerticalLayout component. When I fill that with so many count of GameObjects, the game will fall in problem! My list has more than 300 GameObjects. How to optimize my scroll list?
sma6871
  • 3,198
  • 3
  • 38
  • 52
1
vote
2 answers

Save current Scrollrect position Unity3D

I am new with unity and C#, I have question about how I save current scrollrect position. Example : I am scrolling the view , and move to another scene and then back to previous scene but the scroll shows the previous position before I moved the…
lLm003
  • 11
  • 2
1
vote
1 answer

Scroll Rect scrolls simply due to mouse movement. How to fix it?

Unity 2019.1.0f2 Input System 1.0.2 I create an empty 3D project, then import the Input System into it. I add EventSystem to the scene. Then I write a simple script and add it to scene: using UnityEngine; using UnityEngine.InputSystem; …
1
vote
1 answer

Unity VR - Scrolling text with hand movement (Oculus)

What I want is a world space canvas that I can scroll using hand movements. I can get the worldPosition of the controllers and find the actual movement but I cannot figure out how to enable the text to scroll. What I am trying at the moment is to…
1
2 3