Can you please fix this script for me
I'm trying to convert a JS script to C# and change it's methods to Unity 5, this script is very long and i would like to just fix it, it would be a big bonus if you can also upgrade it to Unity 5; thanks
My Script: http://pastebin.com/9zCZVjHk
Original Script: http://pastebin.com/k13zqksU
You offer no description of what is not working.
The first line of the JS file is missing from your code.
The @ symbol in JS can be replaced with [] in C#
For example
@HideInInspector becomes
[HideInInspector]
Thanks man, i didn't place a description of what's not working because there's just too many errors to write in here
Start at the top of the list of errors and fix that one. Quite often the remaining errors will no longer exist or will change to something else.
Your answer
Follow this Question
Related Questions
Showing Frame Rate Info in the Unity scene using Custom Script failed 0 Answers
Bullet trying to set object that doesn't even exist 1 Answer
[FPS] Camera Recoil / Muzzle Climb - Script overriding? 0 Answers
Using waitforseconds to put delay between gunshots 1 Answer
My RigidbodyFPS (Unity Standard Assets) had a little shaking when collide with another 3d Object. 3 Answers