About
About Us
Help
Privacy Policy
Terms of Service
LearnDesk
Learn
Academics
Business
Creative
Health and Fitness
Lifestyle
Personal Development
Software
Topics
Admissions
Engineering
Hardware
Hospitality
Humanities
Chinese
Languages
Maths
Pharma
View All Topics
Topics
Accounting
Advertising
Analysis
Analytics
Business Communication
eCommerce
Entrepreneurship
Finance
Finance - India
Freelancing
View All Topics
Topics
Arts & Crafts
Audio Editing
Audio Production
Dance
Design
Film Production
Music
Photography
Video Production
Writing
View All Topics
Topics
Dieting
Fitness
Food Safety
Games
Medical
Medical Professionals
Meditation
Mental Health
Pregnancy
Safety & First Aid
View All Topics
Topics
Beauty & Makeup
Food
Fashion
Gaming
Home Improvement
Parenting
Pet Care & Training
Relationships
Sustainable Living
View All Topics
Topics
Career Development
Learning
Religion and Spirituality
Self-Improvement
View All Topics
Topics
Accounting
Amazon Web Services
App Development
Continuous Integration
Backup Software
Business Automation
Computational Fluid Dynamics
Business Intelligence
Computer Aided Design (CAD)
View All Topics
Teach
Teach Online
Schedule
Items
Billing
Users
Marketing
Analytics
Settings
Change School
Account
Log In
Sign Up
Coding for Actual Beginners (C#/Unity/Game Development)
Unity Introduction
Intro
Preview
Intro (notes)
Create a project
Preview
Create a project (notes)
Set up a layout
Preview
Set up a layout (notes)
Window overview
Preview
Window overview (notes)
Scene window
Preview
Scene window (notes)
Functions & C# Basics
What is a function?
Preview
What is a function? (notes)
Layout of a C# script
Layout of a C# script (notes)
Functions in C#
Functions in C# (notes)
Diagnose errors
Diagnose errors (notes)
Call custom functions
Call custom functions (notes)
Variables & Movement
Movement
Movement (notes)
Variables (conceptual & applied)
Variables (conceptual & applied) (notes)
Script Instances
Script Instances (notes)
Logic & Input
If statements
If statements (notes)
Player input
Player input (notes)
Input for multiple move directions
Input for multiple move directions (notes)
Prefabs & Instantiating Objects
Prefabs
Prefabs (notes)
Instantiate
Instantiate (notes)
Collision Detection
Collision detection
Collision detection (notes)
Collision filtering
Collision filtering (notes)
Repeating Functions & Randomization
Give an enemy basic functionality
Give an enemy basic functionality (notes)
Repeating enemy spawn function & Game Manager
Repeating enemy spawn function & Game Manager (notes)
Random values
Random values (notes)
UI, Score, and Level Loading
Game Manager
Game Manager (notes)
Keep track of score
Keep track of score (notes)
Show the score on the UI
Load level by pressing a button
Conclusion
Conclusion
Conclusion (notes)
Logic & Input
Coding for Actual Beginners (C#/Unity/Game Development)
By:
Matthew Sharp
Share
Share the link to this page
Copied
Facebook
Twitter
WhatsApp
LinkedIn
Email
Add to Calendar
Add the class to your calendar
Add to Google Calendar
Add to Apple Calendar
Add to Yahoo Calendar
Add to Outlook Calendar
Print
Completed
Understand concepts of an 'if statement' and know how to use them in C#, and make the game react to player input
We'll cover the following topics in this section:
If statements
If statements (notes)
Player input
Player input (notes)
Input for multiple move directions
Input for multiple move directions (notes)
Previous
Next
Sign Up
Signup to access thousands of classes
Continue with Facebook
Continue with Google
OR
Continue with Email
Already a member?
Log In
By registering for a LearnDesk account, you agree to our
Terms of Service
and
Privacy Policy
.
Share
Share with friends, get 20% off
Invite your friends to LearnDesk learning marketplace. For each purchase they make, you get 20% off (upto $10) on your next purchase.
Share with Google Contacts