Git Product home page Git Product logo

Comments (8)

InvexGames avatar InvexGames commented on June 17, 2024

That may be because the button is being automatically resized to fit the text content. Check to see that 'Snap Every Frame' in the SnapButtonToText component (attached to the text object) isn't left on.

from materialui.

negue avatar negue commented on June 17, 2024

Oh .... I searched for the "SnapButtonToText" on the Root of the Button and not on the Button Text Object... thanks, now the resizing is working.

The Ripple Effect now only works partially (some times only on one side, depends on the position) on a resized button.

I had to remove this part, so that the effect was working on the entire button area:
- Mathf.Sqrt(Vector2.Distance(data.position, new Vector2(Screen.width / 2f, Screen.height / 2f)))
from RippleConfig.OnPointerDown line 228

from materialui.

InvexGames avatar InvexGames commented on June 17, 2024

Hi! Thanks for bringing this issue to my attention :)

I'm now working on MaterialUI in a private repo, adding features and the likes for an official release on the Asset Store - this means that I won't be adding/fixing anything more in this repo (sorry). Feel free to fork this one if you'd like to tackle to issue yourself, and/or send me an email at [email protected] if you want me to let you know when it's available.

Cheers,
Declan.

from materialui.

negue avatar negue commented on June 17, 2024

I think I fixed the ripple effect, on my scene I had to move the buttons closer to the camera (maybe my camera depth is a bit wrong, since I'm still a unity noob ^^)

So this plugin will be a paid one? or "just" closed source as dll?

from materialui.

InvexGames avatar InvexGames commented on June 17, 2024

Oh sweet. I do remember there was an issue with the Ripples and other canvas modes (I believe it's fixed in the closed version as I've changed how Ripples are done), and it was related to camera depth.

It will likely be paid. Do you think it's something you'd be interested in (provided it's faster, more stable and has more features and documentation/examples)?

from materialui.

negue avatar negue commented on June 17, 2024

Sure, with more features why not^^

I'd like to have a toast like this one => https://github.com/code-mc/loadtoast

from materialui.

PygmyMonkey avatar PygmyMonkey commented on June 17, 2024

Not sure it's in the guidelines from Google :)

from materialui.

negue avatar negue commented on June 17, 2024

Google Play Services uses this kind of "toast", for example during the login to Play Games

from materialui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.