Style your Unity toggle switch with color and material transitions!

Поділитися
Вставка
  • Опубліковано 11 січ 2025

КОМЕНТАРІ • 17

  • @alexleonardkrea
    @alexleonardkrea Рік тому +1

    This is so incredibly polished! Great job!

  • @pavlovsdoguk
    @pavlovsdoguk Рік тому +1

    Your videos are always great! I was excited to see a follow up to the other one

  • @ChristinaCreatesGames
    @ChristinaCreatesGames  Рік тому +1

    About that new on OnValidate: If you change private void OnValidate to protected virtual in ToggleSwitch, you won't need the new 😶 Just make the OnValidate inside the inheriting classes protected override like the other methods that work like that. I must have had a glitch in my thoughts when I wrote that, sorry :) Already corrected it in the Github files.

  • @xvilusxv3432
    @xvilusxv3432 Рік тому +1

    These look amazing! You never fail to impress

  • @dantheplanner
    @dantheplanner Рік тому +1

    Merry Christmas Christina. 🎅🏽

  • @palanolho82
    @palanolho82 13 днів тому

    Great tutorial as always @ChristinaCreatesGames!.
    Question... couldn't you have learped the image switch (night/day for example) using a canvas group alpha?
    Asking because I'm trying to do it for a switch that shows an ON / OFF text

  • @andreanneabel3464
    @andreanneabel3464 Рік тому +1

    Great tutorial!!

  • @MarekNijaki
    @MarekNijaki Рік тому +1

    Great video

  • @rarefushion
    @rarefushion Рік тому +1

    I wonder if you could just have a child of background image and change the transparency in place of a shader. PS: your videos are great!

    • @ChristinaCreatesGames
      @ChristinaCreatesGames  Рік тому

      Thank you =D!
      I guess you can go the route of having chhild objects and working with transparency, too :)! What I like about the shader one is that those could be animated, as well :D It's a tiny thing and probably not readable at the typical size of a UI toggle, but I like having the option.

  • @goksicar91
    @goksicar91 2 дні тому

    This is not working for me..I cannot recolor the toggle..Do I need the Flag Coloring script, that is missing from yout github?? please help, tnx