Questions tagged [scrollrect]

42 questions
0
votes
1 answer

Scrollrect in unity 5

i just want to create a scrollrect that have a Repetitious Background image i set the image mod to tilled to have Repetitious image but image will go over the panel borders how i can have scrollrect with Repetitious image please help me
0
votes
1 answer

Creating boundaries for scrollRect for platformer game as3

Writing a side-scrolling platformer and figured that scrollRect would be best for memory, since it only renders the rectangle and not the entire stage. I have it centering my hero and scrolling with him. My problem is with creating the outer…
0
votes
1 answer

Java scrollRectToVisible weird scrolling

I have made a custom Table Component in Java and I am curious why scrollRectToVisible always scrolls to bottom right point of the input rectangle. Is there a way how to tell parent component to attempt to view whole rectangle? Because its not funny…
0
votes
1 answer

Image Inside Scroll Rect is positioning in Game Mode

I am facing a problem with the position of the image inside the scroll Rect. When I am in game mode the position is automatically changing. So the image is automatically filling in the Scroll Rect. I need it to be in the bottom. Thanks Normal…
Kevin k5
  • 99
  • 1
  • 2
  • 9
0
votes
1 answer

Unity - Scroll Rect?

I have this problem. I'm using a scroll rect to display a series of buttons, but I would make sure that as soon as the buttons (with the scroll rect), come out of a certain area (bounded by a panel), become invisible. to explain it better in the…
user4398570
0
votes
1 answer

Use Scrollview on Container

I was playing around with Unity's UI stuff and what I'm trying to implement right now is a list of images that can be scrolled through. However, the Scrollrect only provides scrolling a single image rather than a container. Have u got any ideas to…
0
votes
0 answers

Velocity of scrollRect always returns (0.0,0.0)

In the documentation it says that ScrollRect has a velocity variable. (http://docs.unity3d.com/460/Documentation/ScriptReference/UI.ScrollRect.html) But if I try to tap into it or output it to the console using the following code …
kai Taylor
  • 785
  • 1
  • 7
  • 21
0
votes
1 answer

Unity 4.6 Scroll Rect, Mark problems

I have project using unity 4.6 canvas, panel and button. I want display list button like this tutorial https://www.youtube.com/watch?v=Ue6gNUWOM-w it worked with many device and unity IDE but when I play this in my phone Mobiistar Touch S01,…
user2753116
  • 81
  • 1
  • 6
0
votes
1 answer

Flash Component Unable to set scrollRect

I have a component and I'm attempting to set a scrollRect from within the global application code. When I define the function as public function foo():void{ obj.scrollRect = new Rectangle(blah,blah,blah,blah); } the scrollRect does not get…
0
votes
1 answer

UIScrollView keep scroll rect while resizing

I have got a UIScrollView with a UIImageView as subview. The contentSize of the ScrollView has been set to the size of the UIImageView. I implemented zooming and scrolling of the UIImageView. I need the UIScrollView to keep the scroll rect when I…
akw
  • 2,090
  • 1
  • 15
  • 21
-1
votes
1 answer

Crash when opening Android window after using Unity ScrollRect component

java.lang.Error: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** Version '2020.3.14f1 (d0d1bb862f9d)', Build type 'Release', Scripting Backend 'mono', CPU 'armeabi-v7a' Build fingerprint:…
-2
votes
1 answer

Why does checking then setting verticalNormalizedPosition restrict ScrollRect scrolling?

Unity NGUI system uses ScrollRects to add scrollable elements to your game, but this scrollrect lacks the ability to restrict scrolling up past a certain point, something I determined to implement. I had an idea: lets just check if…
Zan
  • 21
  • 2
1 2
3