Teaching Newbies since 2014

  • Home
  • Javascript ❤
    • JavaScript
    • Node.js
  • WebDev Tuts
  • screencasts
  • Resources
  • VR & AR
  • Github
  • Twitter
  • YouTube
  • RSS
  • C++
You are here: Home / Archives for update

February 19, 2021 by: Kauress

Unity Editor Basics #2: Menu bar: File 📁

📁The bar is right below the title bar 📁Has all these menu options: File, Edit, Assets, GameObject, Component, Window and Help 📁The File option is concerned with f options like opening an existing scene, or creating a new scene 📁You can also save your project with the Save and Save as options 📁 Or create a new project from the File menu or open an

[ Read More ]

February 19, 2021 by: Kauress

Unity Editor Basics #1: Title bar 📜

📜Title bar is right at the top and displays info about the application and your project 📜Logo (Unity) → Click → Context menu (which allows you to restore, minimize, maximize etc). You can do the same with the buttons on the far right 📜Your project name 📜The name of the scene which is currently open (game level, film scene, splash scene, welcome scene etc) 📜Build

[ Read More ]

February 19, 2021 by: Kauress

Introduction to C# in Unity #13: 🥑 If – else if – else conditional statements

If - Else If - Else Conditional

🥑 Use else if to specify a new condition to test, if the first condition is false

[ Read More ]

February 17, 2021 by: Kauress

Introduction to C# in Unity #12: 🥑 else block

If Else Conditional

🥑 Use else to specify a block of code to be executed, if the same condition is false

[ Read More ]

February 16, 2021 by: Kauress

Introduction to C# in Unity #11: 🥑 If conditional statement

If Conditional

🥑We use conditional statements all the time in real life. For example, suppose you go to your favorite restaurant and you ask for what you always eat there – Fish & Chips. The server lets you know that you can’t order that since they’ve run out of Fish and to please choose something else. So you order your second best choice – Pizza. 🥑Another example:

[ Read More ]

February 14, 2021 by: Kauress

Introduction to C# in Unity3D #10: While Loops ➿

While Loop

➿A while loop will execute till the condition is true. If the condition false, the program will exit from the loop. The while keyword will be used ➿The syntax for a while loop is: ➿While loops whose condition never evaluates to false are known as infinite loops ➿The condition never evaluates to false therefore the while loop will execute infinitely. So make sure your conditional

[ Read More ]

February 13, 2021 by: Kauress

Introduction to C# in Unity3D #9: For Loops ➿

For loop

➿ Syntax: ➿ Initialization: The initialization statement initializes a variable that will be local to a for loop this means that it cannot be accessed outside the loop. It initializes the starting value of the counter variable ➿ Condition: The conditional statement is a boolean expression that will return either true or false. If an expression evaluates to true, then it will execute the loop

[ Read More ]

February 11, 2021 by: Kauress

Introduction to C# in Unity3D #8: Operators – Part 3 📠

C# Unity3D Operators

📠Unary operators operate on a single operand 📠 Unary plus (+), Unary minus (-) 📠Increment ++ operator, decrement — operator 📠Equality operators 📠The equality operator == returns true if its operands are of equal value, else it’ll return false. 📠 The Not Equal to != operator returns true if its operands are not of equal value, else it’ll return false.

[ Read More ]

February 9, 2021 by: Kauress

Introduction to C# in Unity3D #7: Operators – Part 2 📠

C# Unity3D Operators

📠Comparison operators📠A comparison operator compares two values.📠 <, >, <= , >= 📠Logical Operators📠Logical operators are used in decision making and loops. Logical operators perform logical operation such as `And`, `Or` and `Not`. These operators evaluate expressions and return boolean values.📠AndThe logical And( &&) operator returns true if both operands evaluate to the boolean true📠OrIf one of the two operands is true then the expression

[ Read More ]

February 8, 2021 by: Kauress

Introduction to C# in Unity3D #6: Operators – Part 1 📠

C# Unity3D Operators

📠 Operators are used to carry out operations on operands. Operands are values or variables on whom an operation is carried out on. 📠 For example 2 + 10 📠Arithmetic operators: addition, subtractions, multiplication, division and modulo 📠The modulo operator returns the remainder of a division operation e.g 5 % 2 is 1 📠The assignment operator is denoted by the equal to = sign and

[ Read More ]
  • 1
  • 2
  • 3
  • Next Page »

Copyright © 2022 ·Kauress