12-01-2019, 02:59 AM
Well, I am not a computer science major. I do have a bit of experience with Java/JS. First of all, try putting parentheses after transform.
If that doesn't work that means you're either wrong with 'transform' or something prior to the . in line 27, or the line with transform in it.
Because there's an issue prior in the code with what playerTarget equal's there will obviously be trouble in line 50 once you reintroduce playerTarget.
I've probably only told you what you already know, sorry about that! Good luck with your game! (It's also really hard because I have little to no experience with C# and it's kinda confusing when you don't know the context.)
I hope what I've told you helps you, even if just a little.
If that doesn't work that means you're either wrong with 'transform' or something prior to the . in line 27, or the line with transform in it.
Because there's an issue prior in the code with what playerTarget equal's there will obviously be trouble in line 50 once you reintroduce playerTarget.
I've probably only told you what you already know, sorry about that! Good luck with your game! (It's also really hard because I have little to no experience with C# and it's kinda confusing when you don't know the context.)
I hope what I've told you helps you, even if just a little.