Tag
C#
Articles connected to c#.
Editorial
C# articles
Game Development
How to Fix Common Unity Console Errors in C#
A Unity error message usually tells you more than it first appears to. Learn to read Console messages, locate mistakes in C# scripts, and fix missing script references using real examples from Unity.
Game Development
How to Change a Sprite in Unity 2D with a UI Button
A Unity button can swap the sprite displayed by a 2D object without replacing the GameObject. This tutorial shows how to assign two sprites, connect On Click(), and avoid two mistakes in the switching script.
Game Development
How to Make a Trampoline in Unity 2D Using Collision and Impulse
Create a working trampoline in Unity 2D using C#, collision detection, and Rigidbody2D. Learn how to apply an upward impulse, configure the components, and fix common mistakes.