Hi guys ! I’m new here (In the forum) and first of all, my native language it’s spanish, so I will try to explain my problem the best I can.
Going to the problem:
I need help, trying to make a Shooting manager script, but I’m not talking about FPS shooting like. I talk about making a drag and shoot script (Like Angry Birds, you know).
I already have scripts for the job, but the problem is they are splitted in two scripts. One for the drag and shoot action and one for the camera (follow the shooted projectile).
I need to combine this two scripts in one but the problem is to load another projectile for the next shoot while the camera its following the projectile, I have any problems to assign them in the inspector, I only want to get an idea to see how I can make this script (Or combine the two scripts that already have).
If nobody can understand I’ll explain how my drag and shoot system works.
DnS.cs – In this script I have the shooting system, detect the mouse clicks, calculates the ammount of force, etc
CameraFollower.cs – This script controls the camera with a simple condition. if shooted { follow projectile }
I’m not making a “Can you do this script for me?” thread, I only want opinions so I can clear my ideas and make my Drag n’ shoot system.
Sorry again for my bad english and greetings from Argentina. ![]()