Skip to content

Grogan Software

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

mouse

Input: Detect Mouseover

February 21, 2021June 13, 2016 by Damien

Unity has events that tell your scripts when the mouse cursor hovers over an object and stops hovering over an object. This can be great for UI or for prompting the player that they they can interact with something. Note: this is an older post that uses the old Unity input system. This will still … Read moreInput: Detect Mouseover

Categories Input, ScriptingTags c#, input, mouse, scripting, uiLeave a comment

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