I get error CS1525: Unexpected symbol `’ for
//Look at target
myTransform.rotation = Quaternion.Slerp(myTransform.rotation, Quaternion.LookRotation(target.position - myTransform.position), rotationSpeed * Time.deltaTime);
myTransform.position += myTransform.forward * moveSpeed * Time.deltaTime;
Any help on how to fix or what error means would be appreciated, thank you for your time!
Eh what? What’s with all the stars?
[COLOR=#111111]//Look at target[/COLOR]
[COLOR=#111111]myTransform.rotation = Quaternion.Slerp(myTransform.rotation, Quaternion.LookRotation(target.position - myTransform.position), rotationSpeed * Time.deltaTime); [/COLOR]
[COLOR=#111111]myTransform.position += myTransform.forward * moveSpeed * Time.deltaTime;
[/COLOR]
what are there * in myTransform.rotation and target.position?