Unity MASKING - Ultimate Guide | Unity UI & Sprite Tutorial

Unity MASKING - Ultimate Guide | Unity UI & Sprite Tutorial

SpeedTutor

3 года назад

30,355 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@himtortons9526
@himtortons9526 - 16.07.2024 17:43

Thank you! So with this, it will be possible to create an ink transition like Frost Punk UI then play a video inside the mask for instance?

Ответить
@leonardocafissi5580
@leonardocafissi5580 - 17.04.2024 20:33

I have a problem, I have to create a smart glasses, I want to show ui wordspace of some people only in the glasses, I try to use sprite mask (but it works only with objects not with ui element) and ui mask (but it hides only the children), how can I do this?

Ответить
@Wonder_Verse_Tech
@Wonder_Verse_Tech - 27.04.2023 15:37

I want to mask UI , but don't want the parent to contain the mask component ,
that is , I want a mask component on a free object not on parent coz I will be changing the size of parent and this is causing me to change in masking area ,
What can I do , Please help.

Sprite mask is perfect , in that I am not forced to attach it to only parent , can't this type of thing done for UI ?

Ответить
@PhazonBlaxor
@PhazonBlaxor - 23.02.2023 17:43

"Ultimate" guide, I came here looking how to use sprite masks to make them affect only certain gameobjects, but this ultimate guide really omitted sorting groups totally. -_-

Ответить
@rohitvishwakarma9261
@rohitvishwakarma9261 - 21.12.2022 08:50

In the cutout mask, how to make clicks to work on the cutout area and not work on the remaining area ?

Ответить
@TopzicGaming
@TopzicGaming - 15.11.2022 07:12

Thank you

Ответить
@Exmain
@Exmain - 15.08.2022 10:34

Hello, great thanks !
And a question)
Can we hide video behind the mask ?

Ответить
@richardnorbron4969
@richardnorbron4969 - 13.08.2022 19:36

Great little tutorial, thanks.

Ответить
@BlueHat1
@BlueHat1 - 08.07.2022 18:07

Thank you for the tutorial. I use a sprite mask in my game, but no matter what I do it doesn't show up after I press play. Could you please help?

Ответить
@davidvarga2916
@davidvarga2916 - 02.07.2022 12:41

I need sprite masking in UI 😄

Ответить
@haiao2995
@haiao2995 - 22.06.2022 05:36

awesome

Ответить
@Koreyite
@Koreyite - 03.06.2022 08:31

The soft mask would be a lot more convenient to use if I didn't have to use just images and nest the children. I think I do have a workaround. Since I can't detach the children without breaking the script, instead I can set the children to have a foster parent then after I'm done doing transforms, I reunite the children with the original parents.

Ответить
@Koreyite
@Koreyite - 30.05.2022 22:29

My goal is to create a few soft masks to cut out of a black screen, and reveal the game as the player goes. I have done this by making a few cascading soft circles with the black rectangle as the child of those cascading circles. I am not sure how to implement this in code though (YET).

Ответить
@Koreyite
@Koreyite - 30.05.2022 20:58

When I try to add the soft mask from the git url, it doesn't seem to register. I then did the manual installation of the package but it isn't working, the maskable object component can't be added to anything because it's abstract.

EDIT: I actually think I got it working now, somehow.

EDIT 2: It works, sort of. The masking graphic has a weird partial edge in it so the underneath object is only partially masked.

EDIT 3: So the visual kerfuffle is actually an editor rendering problem, but looks normal in game.

Ответить
@Javi-Aledo
@Javi-Aledo - 29.05.2022 22:35

Hi, is it possible apply soft mask in a Sprite masking? thanks.

Ответить
@aleksandrkuziakov9266
@aleksandrkuziakov9266 - 21.05.2022 21:09

Looking forward for Super Ultimate Guide with Custom Range covered

Ответить
@murilojonesarruda8061
@murilojonesarruda8061 - 23.03.2022 22:39

Hey Thanks for the tutorial. very nice explained. What if I wanted to use a material instead of a background image (a sprite unlit image, for UI elements) Because I notice that if you, for example, write something in text mesh pro, create a mask component in it, and assign a UI image as a children, it will be masked fine. But if instead of a texture image, I want to use a material for the image component, the mask doesnt work anymore.

Ответить
@darrylblake9680
@darrylblake9680 - 14.12.2021 01:46

I'm a beginner and finding answers for what I want to do in Unity is just as hard as figuring it what I want to do it seems. But I am working with UI elements, animating with animation track.,
I have 2 scenes - I want one scene to star wipe to the scene behind it. But I can't find anything specific to what I need to do. Any ideas? Thanks

Ответить
@Capskiy
@Capskiy - 21.11.2021 22:33

Any reason why all the elements inside this softmask appear purple,as if they are not rendering?

Ответить
@emr_yasa_
@emr_yasa_ - 15.11.2021 16:15

+1

Ответить
@aligamedev525
@aligamedev525 - 16.10.2021 22:08

Thank you sir :)

Ответить
@quantran9219
@quantran9219 - 14.10.2021 09:05

u the best <3

Ответить
@deadbroadcastpc
@deadbroadcastpc - 14.10.2021 01:01

You have a great way of explaining your process man, always enjoy these tutorials.

Ответить
@CleisonRodriguesComposer
@CleisonRodriguesComposer - 08.10.2021 19:47

Great tutorial! Very useful!
Thanks!

Ответить
@petrinio8YT
@petrinio8YT - 08.10.2021 16:42

Nice guide. Good job!

Ответить
@Lyserg1260
@Lyserg1260 - 08.10.2021 01:59

It's almost 2022 and we still can't have soft mask without using external assets. I hate this engine.

Ответить
@alec_almartson
@alec_almartson - 08.10.2021 01:04

Thank You 👍🏻

Ответить
@theterminator4793
@theterminator4793 - 07.10.2021 21:59

I'M BACK TO UNITY BABY!! Woooooo boy, I sure have missed a lot of your videos after a busy month! Time to binge watch them all!!

Ответить
@agroxk
@agroxk - 07.10.2021 21:07

First comment :) and I love your videos!

Ответить