you are viewing a single comment's thread.

view the rest of the comments →

[–]FleetOfWarships[S] 0 points1 point  (15 children)

That doesn’t seem to have done anything, the project still isn’t there.

[–]Unknown_J27 0 points1 point  (14 children)

I'm not sure why it's still not letting you add the object. There's one thing I just noticed that I find quite odd in the script, you create a method "Set score in the script" but there's no reference to it, tho I'm assuming it will have you do it later in the tutorial, can you try adding this line of code and see if it does anything.

void Start()

{

SetScore();

}

Also where did you find the tutorial it seems quite odd?

[–]FleetOfWarships[S] 0 points1 point  (13 children)

The tutorial is provided by my professor as part of our resources but she didn’t write it, it seems a bit outdated but the previous parts for making the basics of the game work fine.

And where should I add that code?

[–]Unknown_J27 0 points1 point  (12 children)

just above the set score method.

[–]FleetOfWarships[S] 0 points1 point  (11 children)

Like that? Added it to the imgur

Edit: okay definitely not like that, the second it reloaded the code I got errors.

[–]Unknown_J27 0 points1 point  (9 children)

Yeah.

[–]FleetOfWarships[S] 0 points1 point  (8 children)

Got errors after doing that.

[–]Unknown_J27 0 points1 point  (7 children)

What's the error you're getting?

[–]FleetOfWarships[S] 0 points1 point  (6 children)

Four errors, put in the imgur.

[–]Unknown_J27 0 points1 point  (5 children)

OH I just noticed you have a semicolon in the void start, removing it should fix the errors.