Can someone give me simple script for melee attacks on mouse click C#.
I'm trying to create diablo inspired short game with C#, but now I'm stuck on something that might seem simple to you but not for me heh. I wrote script to move character around on my left mouse click but what I need now is when I get in range of enemy and if I mouse over it I'd like to melee attack it while holding left mouse click.
I know how to create first person melee attack but considering this is isometric based game where I pull commands mainly from left mouse click it does nothing for me.
Any ideas? I'm new to coding and stuff I'm more of a 3D character/environment artist. Thanks in advance, if anyone feels like helpin.
Your answer
Follow this Question
Related Questions
Fall down Cube object from platform. 0 Answers
RigidBody2D velocity randomly drops to zero 1 Answer
Input Touch Not Working Quite Right... 1 Answer
How can i make an object move to my aiming position? 0 Answers
Unity 5: AddForce Increases power when already being pushed towards a collider. How to make stop? 1 Answer