Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Gui Features Request

Discussion in 'UGUI & TextMesh Pro' started by charmandermon, Sep 22, 2014.

  1. charmandermon

    charmandermon

    Joined:
    Dec 4, 2011
    Posts:
    352
    Looking great so far.

    SCROLL RECT

    1. Ability to touch a child element and have it auto center in scroll rect.

    2. Child snapping in scroll Rect.

    3. Paging Navigation ( for example button event item++ then scroll view centers to next or previous item)


    ALL GUI

    4. Event Passthrough ... similar to raycast all. If passthrough is enabled it will also send events through to the next item behind it...and so on and so forth until it hits a passthrough disabled.

    Example: 2 stacked buttons that need to be executed on the same press.
     
    erebel55, myama and MaxEden like this.
  2. charmandermon

    charmandermon

    Joined:
    Dec 4, 2011
    Posts:
    352
    Bumping to make sure this gets noticed by people that need to see this. :)
     
  3. -JohnMore-

    -JohnMore-

    Joined:
    Jun 16, 2013
    Posts:
    64
    Yes please.

    ScrollRect.CenterOn(rectTransform)

    So we can center on the transform of a selected object, make snapping and lots of fun stuff, but please let us center on some item so we ensure it is visible after it is selected :).

    Aldo, event pass through is a must, right now I have some non-interactable sliders that are blocking the scroll event in the scroll rect. Making it so the event can pass through the slider to the scroll rect or any other item is necessary for complex UIs.
     
    charmandermon and Dabeh like this.
  4. Dabeh

    Dabeh

    Joined:
    Oct 26, 2011
    Posts:
    1,614
    Exactly this. I'm needing to write some really awful hacks to get around these limitations...I really need centeron badly and I need to be able to click through.
     
    charmandermon likes this.
  5. runevision

    runevision

    Joined:
    Nov 28, 2007
    Posts:
    1,877
    You can use a CanvasGroup for that.
    http://docs.unity3d.com/460/Documentation/Manual/class-CanvasGroup.html
     
    hadesfury and -JohnMore- like this.
  6. Breyer

    Breyer

    Joined:
    Nov 10, 2012
    Posts:
    412
    I have one request for UnityEvent: add delegate onNewEventAdded. I think this could be useable for asset creator and maybe, later, for databinding. This could be useful for semi-automatic localization too.... I know this is possible but only on editor side while i have in mind in runtime

    EDIT there should be onRemoveEvent too
     
    Last edited: Sep 30, 2014
  7. tobicreaper

    tobicreaper

    Joined:
    Apr 30, 2013
    Posts:
    69
    yes please, we need center snapping of the child really badly.. Unity Ui is awesome but lacks a few features..plz do something about it
     
  8. LuxUnity

    LuxUnity

    Joined:
    Sep 29, 2010
    Posts:
    716
    Yes 1 and 2 will be so useful, please!
     
  9. tobicreaper

    tobicreaper

    Joined:
    Apr 30, 2013
    Posts:
    69
    by the way I have managed to centre snap the scroll rect elements. It is quite poor but it works. If anyone wants it, you can pm me. I will attach the script here.
    cheers !
     
  10. myama

    myama

    Joined:
    May 2, 2014
    Posts:
    14
    Yes to Scroll Rect 2 + 3 for paging