View by Component

Physics , Physics 2D , Audio , UI , Tilemap , Cinemachine , Timeline , Network , Animation , Animator , Sprites , Scripting , Tips , Colliders , 2D Colliders , Rigidbody , Rigidbody 2D , Interaction , Editor , Game Mechanics , In-App Purchase , Material , General , Prefab , ProGrids , Light , Rendering , Ads , Scriptable Objects , Events , Level Design , Making Of , Assets , Procedural , ProBuilder , Particles , Machine Learning , News & Announcements , Conference , Enemy & NPC , PlayerPrefs , Post Processing , Interview , Shader , VFX , TextMeshPro , InputSystem , XR

C# If Statements in Unity! - Beginner Scripting Tutorial

Uploaded by Unity
Share: Twitter Facebook
Watch this video in context on Unity Learn:
https://learn.unity.com/tutorial/if-statements

How to use IF statements to set conditions in your code.

More from Unity
C# GetAxis in Unity! - Beginner Scripting Tutorial Unity
Making a Toon Shader with Unity! (Shader Graph tut... Unity
Monetize your games | Showing Banner Ads Unity
Improving Visuals in Unity | Beginner Prototype Unity
C# Update And Fixed Update in Unity! - Beginner Sc... Unity
Make a Planet in Unity 2019 with Polybrush! (Tutor... Unity

Related
C# Scope and Access Modifiers in Unity! - Beginner... Unity
C# Switch Statements in Unity! - Beginner Scriptin... Unity
C# DataTypes in Unity! - Beginner Scripting Tutori... Unity
C# GetAxis in Unity! - Beginner Scripting Tutorial Unity
C# GetButton and GetKey in Unity! - Beginner Scrip... Unity
C# Update And Fixed Update in Unity! - Beginner Sc... Unity
Unity Copilot

A platform that gathers Unity tutorials in one place.
Developed by Omar Balfaqih to help Unity learners find tutorials easier and faster in a tailored way.

© 2025 Copyright: UnityCopilot.com
Do you like cookies? 🍪 We use cookies to ensure you get the best experience on our website. Learn more