Comments (8)
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.
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.
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.
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.
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.
Sure, with more features why not^^
I'd like to have a toast like this one => https://github.com/code-mc/loadtoast
from materialui.
Not sure it's in the guidelines from Google :)
from materialui.
Google Play Services uses this kind of "toast", for example during the login to Play Games
from materialui.
Related Issues (20)
- Component: Dialogs
- Error within my game but not on seperate project? HOT 10
- EZAnim - Object reference not set to an instance of an object HOT 3
- Things don't work as expected when using 'Screen Space -Camera' render mode. HOT 9
- Closed Dialogs / Nav Drawers Render Off Screen HOT 3
- RippleMask blocks input after ScreenConfig.Back is called HOT 1
- Can't Instantiate HOT 1
- Countdown Game - First experiement with this awesome asset HOT 3
- Close Selection Box HOT 3
- Android | Some itens of the screen are getting black when running on device. HOT 9
- Ripple effect draws outside of it's area HOT 2
- Moving MaterialUI Folder into Subfolder HOT 2
- System.IO.File' does not contain a definition forWriteAllBytes' HOT 8
- ArgumentException: The thing you want to instantiate is null HOT 2
- Resize switch HOT 1
- Switch change handle? HOT 6
- EZAnim can't be checked because doesn't exist HOT 3
- Menu Component/MaterialUI/(VARIOUS COMPONENTS) can't be checked because doesn't exist
- Use from the Unity Package Manager
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from materialui.