Skip to content

Grogan Software

Search
  • Game Dev Blog
  • Games
  • Unity Assets
  • Search

tutorial

Drag-and-Drop

February 23, 2021November 4, 2015 by Damien

Drag-and-drop functionality is useful for many types of games – an inventory system in an RPG, dragging letters onto a word game board, etc. With a simple script you can add drag-and-drop functionality that will work with both mouse and touch input. This is also a perfect problem with which to demonstrate my technique for simplifying complex … Read moreDrag-and-Drop

Categories ScriptingTags input, novice, tutorial53 Comments

Recent Posts

  • Fix Null Reference Exceptions
  • Navigation with the Nav Mesh Part 5: Areas and Paths
  • Navigation with the Nav Mesh Part 4: Patrolling and Chasing
  • Navigation with the Nav Mesh Part 3: Going Off Mesh
  • Navigation with the Nav Mesh Part 2: Obstacles and Targets

Recent Comments

  • Mark Kieling on A Simple Input Manager for Keyboard, Gamepad, and Touch
  • KiluSs on Beginner’s Guide: Create a Pong Clone in Unity: Part 10
  • KiluSs on Beginner’s Guide: Create a Pong Clone in Unity: Part 8
  • Fmdk on In-Game Security Camera using Render Texture
  • Trufax on Beginner’s Guide: Create a Pong Clone in Unity: Part 9

Contact

Tags

agent ai artificial intelligence bb-8 beginner button c# collisions color components debug enemy fade fun game dev games ideas input making of menu monobehaviour mouse mouse dreams navigation nav mesh novice patrol physics2d pong raycast raycasting sample project script scripting star wars transparency triggers tutorial ui variables

Footer

© 2021 Grogan Software • Powered by WPKoi
Scroll back to top