Using C# and the Unity3D game engine, but not about them
Textbook style scripting/programming: variables, if's, functions, loops, classes, arrays and common tricks using them in various combinations.
Part I as a PDF | The whole thing as a giant PDF. About 1 Meg. You should be able to right-click to download. It has a Clickable table of Contents |
Part II as a PDF | Recursion, Inheritance, so on on |
Part I & II as HTML | The same thing, but chapter regular html web-pages (with Table of Contents) |
The same thing again as individual pdf's for each chapter:
These next topics are a little more advanced,. They still have some uses/examples in Unity3D, but mostly general-purpose examples:
Comments or the Unity3D Forums, sub-forum CommunityLearning&Teaching "Another C# textbook" post.
Oct '16: added Recursion and the obligatory Pedagogy section to ch0.
Nov '16: added to part 27, Struct In Struct: new sections 7 and 8.
Feb '17: minor bug-fix + tweaks mixed-types part of ch2
April '17: rewrite back part of ch4/ifs. Added chapters: function pointers, inherit1, inherit2
June '17: Added linked lists, big-O chapters
Late Oct '17: figured out how to make table of contents: in one giant pdf, or html with real contents page.
Added chapter headings to single-chapter pdfs.
Sept '19: re-edit ch1-37.