Drag and Drop UI

Sdílet
Vložit
  • čas přidán 28. 08. 2024

Komentáře • 20

  • @wormholeinteractive
    @wormholeinteractive Před 2 lety +5

    This is not working for me. For starters, shouldn't both the target and draggable have colliders w/trigger? As I drag the object over the drop target, the hovering over event does not fire...

    • @wormholeinteractive
      @wormholeinteractive Před 2 lety +8

      Figured this out thanks to another channel. Make sure to add colliders to both the drag object and the target. you may have to resize the collider to ensure it covers the entirety of your object. Also, add a Rigidbody to the target. Set the gravity scale to 0, to avoid having the target start falling down...

    • @rpmulvany
      @rpmulvany Před rokem +1

      @@wormholeinteractive thanks a lot! This fixed my drop issue

    • @escaperoombadajoz
      @escaperoombadajoz Před rokem +1

      @@wormholeinteractive thanks a lot! :)

    • @troyna77
      @troyna77 Před rokem

      @@wormholeinteractive I only needed on "Box Collider 2D" and it works.

    • @GormanStudios
      @GormanStudios Před 9 měsíci

      @@wormholeinteractive Thanks for this

  • @Dantandrade-8459
    @Dantandrade-8459 Před 2 lety +2

    Great video for people making inventory or using one.

  • @utkuyazc5848
    @utkuyazc5848 Před 2 lety +1

    Great tutorial. Finally some intermediate stuff. Thank you Stephen, the man!

  • @aeon_zero
    @aeon_zero Před 4 měsíci

    Why use all the starting states and not just the Actions? What makes this approach better?

  • @troyna77
    @troyna77 Před rokem +1

    Not seeing those numbers the instructor points out @2:15 time mark ?
    Look under the Debug Drop Down Menu in the Playmaker window.
    Click on "Show State Loop Counts"

  • @kilomonkeyhorse4232
    @kilomonkeyhorse4232 Před 2 lety +1

    sorry but I got an error when import translate advanced action.
    Assets\PlayMaker Custom Actions\Transform\TranslateAdvanced.cs(18,35): error CS0246: The type or namespace name 'FsmStateActionAdvanced' could not be found (are you missing a using directive or an assembly reference?)
    And I can't find where 'FsmStateActionAdvanced' is.
    Do I miss something?

  • @redabeg
    @redabeg Před 2 měsíci

    When I try to drag, my object flies away, Any help?

  • @naocheng4657
    @naocheng4657 Před 2 lety +1

    the video drop at 8:50, am i missing something?I tried to continue the rest of tutorial, but the state stopped at "not over".Why?

    • @troyna77
      @troyna77 Před rokem

      your mouse pointer was not techincally over the "Drop Here" Image Object.

  • @Dantandrade-8459
    @Dantandrade-8459 Před 2 lety +1

    Congratulations on 17.5k

  • @makadi86
    @makadi86 Před 2 lety +1

    I like Visual Programing but this not visual programing this is visual confusing :S

    • @Dantandrade-8459
      @Dantandrade-8459 Před 2 lety

      It’s pretty simple actually. Just watch some videos and that will help you understand

    • @troyna77
      @troyna77 Před rokem

      it is Visual Programming/Debugging. You can watch your states and transitions.
      You can "visually" do that in Unity(unless you use their new Visual System)