Be the first to post for 'Messages Are Special Functions'!

If you’re reading this, there probably aren’t very many posts yet. But don’t worry, you can be the first! Either create a new post or just reply to this one to say ‘hi’.

Hi Ben, just racing through these first lectures as I nearly completed the first course over a year ago, Just noticed you showed Unity documentation without any explanation. It might be worth a quick intro, perhaps you do this later in the course.

Hi there, yes I’ll go into more depth later, once students have the skills to read the docs.

Hi Ben,
I have a small doubt.
Are messages similar to predefined functions that are called automatically?
And one more thing, how often are these messages called?
To my knowledge update is called once per frame, so how often is onuserinput() called?

I guess this means I understand, I ended up doing this:
image

Actually the answer to that question is in the lecture prior to the challenge.
He says in the lecture that OnUserInput is called when there are characters on the screen
and the user presses enter. So every time there is characters and the user presses enter
is when that Message is called.

I hope that helps.

image

Privacy & Terms