Aloha!
After 2 days of trying to figure out why, i still dont know what is the cause for this error.
the error description is:|‘Object’ does not contain a definition for ‘GetComponent’ and no extension method ‘GetComponent’ accepting a first argument of type ‘Object’ could be found (are you missing a using directive or an assembly reference?)
Looks like its something wrong with “var newEnwmy” since it (if this “newEnemy” is referred as ‘Object’ in error description) does not contain a definition for ‘GetComponent’??
Also when im typing: “newEnemy.Getco…” I get NO autocomplete option for whole statement, like Rick does in lecture…
I dont know how to fix this…I would appreciate any help i can get