Scripting Issue with Ruby's Adventure Tutorial,Script issue in Ruby's Adventure
Hi,
I'm just starting out the Ruby's Adventure tutorial and I'm having an issue with the first script of the tutorial. It mentions to copy the following lines into the void update function of the new script:
void Update()
{
Vector2 position = transform.position;
position.x = position.x + 0.1f;
transform.position = position;
}
yet, when I add this as a new component to the Ruby Sprite, nothing happens when I click the play button. Supposedly the character should immediately start drifting to the right but it doesn't happen. What am I doing wrong?
Your answer
Follow this Question
Related Questions
Question about understanding some tutorial code and transform.parent 1 Answer
software module that takes care of managing experience points and level. 0 Answers
NullReferenceException while following Unity3d College tutorial @JasonWeimann 0 Answers
Array indexing problem 1 Answer
How to use PhotonNetwork.Destroy() if I am not the masterclient? 1 Answer