{"repo":"emrecelik95/LightScrollSnap","free":true,"listed":false,"github":"https://github.com/emrecelik95/LightScrollSnap","clone":"git clone https://github.com/emrecelik95/LightScrollSnap.git","description":"Lightweight Scroll Snap for Unity","language":"C#","stars":100,"topics":["unity","unity3d","unityui","ui","scrollrect-unity3d","scrolling","scroll","scrollview"],"license":"MIT","category":"game-templates","readme_excerpt":"LightScrollSnap A simple tool to make unity scrollview to be snapped. It includes some default resources and provides various options as well as writing custom transition effects. Installation - Install via UPM UI (git url using unity package manager) 1) Go Window - Package Manager - Add package from git URL... 2. Paste this url : https://github.com/emrecelik95/LightScrollSnap.git Install via manifest.json file 1) Navigate to Packages/manifest.json file. 2) Add this into \"dependencies\": { block If you don't want to use git, you can download and unzip the repo and move it to Packages folder. Setup - From Sample 1) Import the sample from Package Manager - LightScrollSnap - Basic Sample. 2) Change the items in Content object(Canvas/ScrollSnap/Viewport/Content). 3) Make any configuration using ScrollSnap component(Canvas/ScrollSnap). - From Scratch 1) Create a canvas with screen based Canvas Scaler . 2) Create horizontal ScrollView . 3) Add Horizontal Layout Group and Content Size Fitter to Content object; 4) Bring the first item to center using Padding in Horizontal Layout Group . 5) Add ScrollSnap component to ScrollRect object. 6) Drag ScrollBarHorizontal to the Scrollbar field on ScrollSnap component. 7) Drag any ScrollSnap effects to the Effects field. Using Transition Effects - Transition efffects are based on Scriptable Objects and inherited from BaseScrollSnapEffect . - There are two default effect on this package, to use them, Right Click under Assets, Create - ScrollSna","default_branch":null,"files":null,"tree":[],"storefront":"/r/emrecelik95","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/emrecelik95/LightScrollSnap/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}