Free scrolling vertical and snap scroll horizontal
I want to scroll up and down freely but when I scroll horizontal to snap on the next panel. I found a few methods but there are problems with the panels containg multiple elements with a grid layout, they all get placed in the centre.
I made a mockup of the menu. Mabye it will make you understand what I need.
c# visual-studio user-interface unity3d scroll
|
show 3 more comments
I want to scroll up and down freely but when I scroll horizontal to snap on the next panel. I found a few methods but there are problems with the panels containg multiple elements with a grid layout, they all get placed in the centre.
I made a mockup of the menu. Mabye it will make you understand what I need.
c# visual-studio user-interface unity3d scroll
1
You will likely need two different scrollviews.
– Draco18s
Nov 14 '18 at 22:19
Please add some screenshots and code snippets of what you have done so far, it will be easier for people to give advice :)
– CaTs
Nov 15 '18 at 0:39
@CaTs the problem is that I guess this is setup all in the inspector using Unity.UI so there might be no code actually
– derHugo
Nov 15 '18 at 6:09
@derHugo then the question can describe a hierarchy of UI elements or include some screenshots of the inspector.
– CaTs
Nov 15 '18 at 23:08
@CaTs you don't have to tell me but yeah sure the more information the better
– derHugo
Nov 16 '18 at 4:50
|
show 3 more comments
I want to scroll up and down freely but when I scroll horizontal to snap on the next panel. I found a few methods but there are problems with the panels containg multiple elements with a grid layout, they all get placed in the centre.
I made a mockup of the menu. Mabye it will make you understand what I need.
c# visual-studio user-interface unity3d scroll
I want to scroll up and down freely but when I scroll horizontal to snap on the next panel. I found a few methods but there are problems with the panels containg multiple elements with a grid layout, they all get placed in the centre.
I made a mockup of the menu. Mabye it will make you understand what I need.
c# visual-studio user-interface unity3d scroll
c# visual-studio user-interface unity3d scroll
edited Nov 15 '18 at 6:08
derHugo
7,15331233
7,15331233
asked Nov 14 '18 at 21:00
Vlad IlisanVlad Ilisan
84
84
1
You will likely need two different scrollviews.
– Draco18s
Nov 14 '18 at 22:19
Please add some screenshots and code snippets of what you have done so far, it will be easier for people to give advice :)
– CaTs
Nov 15 '18 at 0:39
@CaTs the problem is that I guess this is setup all in the inspector using Unity.UI so there might be no code actually
– derHugo
Nov 15 '18 at 6:09
@derHugo then the question can describe a hierarchy of UI elements or include some screenshots of the inspector.
– CaTs
Nov 15 '18 at 23:08
@CaTs you don't have to tell me but yeah sure the more information the better
– derHugo
Nov 16 '18 at 4:50
|
show 3 more comments
1
You will likely need two different scrollviews.
– Draco18s
Nov 14 '18 at 22:19
Please add some screenshots and code snippets of what you have done so far, it will be easier for people to give advice :)
– CaTs
Nov 15 '18 at 0:39
@CaTs the problem is that I guess this is setup all in the inspector using Unity.UI so there might be no code actually
– derHugo
Nov 15 '18 at 6:09
@derHugo then the question can describe a hierarchy of UI elements or include some screenshots of the inspector.
– CaTs
Nov 15 '18 at 23:08
@CaTs you don't have to tell me but yeah sure the more information the better
– derHugo
Nov 16 '18 at 4:50
1
1
You will likely need two different scrollviews.
– Draco18s
Nov 14 '18 at 22:19
You will likely need two different scrollviews.
– Draco18s
Nov 14 '18 at 22:19
Please add some screenshots and code snippets of what you have done so far, it will be easier for people to give advice :)
– CaTs
Nov 15 '18 at 0:39
Please add some screenshots and code snippets of what you have done so far, it will be easier for people to give advice :)
– CaTs
Nov 15 '18 at 0:39
@CaTs the problem is that I guess this is setup all in the inspector using Unity.UI so there might be no code actually
– derHugo
Nov 15 '18 at 6:09
@CaTs the problem is that I guess this is setup all in the inspector using Unity.UI so there might be no code actually
– derHugo
Nov 15 '18 at 6:09
@derHugo then the question can describe a hierarchy of UI elements or include some screenshots of the inspector.
– CaTs
Nov 15 '18 at 23:08
@derHugo then the question can describe a hierarchy of UI elements or include some screenshots of the inspector.
– CaTs
Nov 15 '18 at 23:08
@CaTs you don't have to tell me but yeah sure the more information the better
– derHugo
Nov 16 '18 at 4:50
@CaTs you don't have to tell me but yeah sure the more information the better
– derHugo
Nov 16 '18 at 4:50
|
show 3 more comments
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53308631%2ffree-scrolling-vertical-and-snap-scroll-horizontal%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53308631%2ffree-scrolling-vertical-and-snap-scroll-horizontal%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
You will likely need two different scrollviews.
– Draco18s
Nov 14 '18 at 22:19
Please add some screenshots and code snippets of what you have done so far, it will be easier for people to give advice :)
– CaTs
Nov 15 '18 at 0:39
@CaTs the problem is that I guess this is setup all in the inspector using Unity.UI so there might be no code actually
– derHugo
Nov 15 '18 at 6:09
@derHugo then the question can describe a hierarchy of UI elements or include some screenshots of the inspector.
– CaTs
Nov 15 '18 at 23:08
@CaTs you don't have to tell me but yeah sure the more information the better
– derHugo
Nov 16 '18 at 4:50