Introducing the C# interface
What is an interface? You might be familiar with this word. Else go ahead and look it up in a dictionary. Right! Didn't help me much either.
Let's focus on some electronic devices as examples. For example, a game controller for a game console. The buttons, the shape, and so on, that's an interface. It's how you are allowed to interact with the game. How about a TV remote? That's an interface. It's how you are allowed to control the TV. How about a smartphone? A few buttons and a touch screen, perhaps some motion. That's an interface. That's how you are allowed to use the device.
How about the Unity game engine? Does it have an interface? Sure it does. It's right there on your computer screen. It's called the User Interface.
There's another part of Unity that has an interface. It's called the Scripting Reference.
What???
Sure, think about it. In order for your GameObjects to have certain behaviors, you have to use the classes available in the Scripting Reference. You...