Unity 2D Game Design Tutorial 9 - Introduction to scripting and collision detection in Unity with C#

Опубликовано: 29 Сентябрь 2024
на канале: Daniel Wood
55,351
899

This video gives an introduction to writing code for 2D games in Unity using the C# programming language. We’ll get started by adding collision detection so that our player object (or character) can collect points when colliding with coins in the game. You’ll learn how to setup 2D collision detection, increase a score variable, display messages in the console to test your code, and how to destroy objects (or make objects disappear) in a scene using code. Sample code: http://codemahal.com/video/introducti...