Summary

I hope you have discovered that Dot Syntax is actually a simple process for accessing other objects. It's this ability to communicate between objects that make OOP so powerful. Data is kept in objects, and methods are called on an object to get things done. Dot Syntax is just an address to easily access data and methods on objects.

All right, we've covered the very basics of C# scripting for Unity. Congratulations!

In the next chapter, I'm going to take you through a combination of Unity coding and general C# coding to actually apply your new knowledge. We will start looking at a State Machine to work with Unity. Yes, it's going to be a simple state machine to show the concepts. You've just barely learned C# scripting, so I'm going to ease ...

Get Learning C# by Developing Games with Unity 3D Beginner's Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.