© Alan Thorn 2020
A. ThornMoving from Unity to Godothttps://doi.org/10.1007/978-1-4842-5908-5_3

3. Scripting with C# in Godot: Common Tasks

Alan Thorn1 
(1)
High Wycombe, UK
 

Godot supports many scripting languages unofficially through add-ons and patches. You’ll find people who’ve used GDScript, Python, Visual Scripting, and JavaScript. This book and chapter, however, focus on C#. C# is natively supported by Godot and is the natural choice for Unity developers where C# is used almost exclusively. Here, we’ll write our first Hello World script file with C# and see how to code common gameplay tasks with C# through the Godot API (Application Programming Interface). If you’ve coded with C# in Unity, you’ll be used to a whole string of commands and classes, ...

Get Moving from Unity to Godot: An In-Depth Handbook to Godot for Unity Users 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.