Let’s delve into hoisting in JavaScript! During compilation, microseconds before code is executed, variable and function declarations are “hoisted” i.e. they are added to memory inside a data structure called “lexical environment”. The official ES6 documentation describes the lexical environment as: “Lexical Environment is a specification type used to define the association of Identifiers to specific variables and functions based upon the lexical nesting structure
Unity Editor Basics #10: Tool bar: Move tool ➡️
➡️ The move tool allows you to move a game object around in the scene ➡️ The move tool allows you to move a game object around in the scene ➡️ It is used for positioning
Unity Editor Basics #9: Tool bar: Hand tool ✋
✋ The hand tool allows you to pan/move around the scene with the mouse without moving or shifting any game object ✋The keyboard shortcut is: Q ✋ This is different from the fly through mode which will basically allow you to move very fast in the scene ✋To enter fly through mode press on the right mouse button and then use the WASD keys to
Unity Editor Basics #8: Menu bar: Help🟢
🟢The menu bar is right below the title bar 🟢Has all these menu options: File, Edit, Assets, GameObject, Component, Window and Help 🟢From the Help drop-down menu you can pull up the Unity User Manual or the Unity Scripting Reference 🟢There are other help options to check out the official Unity forum, Unity answers to get a specific question answered or look up older question-answers
❣️🐻The Cute Weekend Guide to Phaser.js🐻❣️
Just some weekend learning fun
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
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
Introduction to C# in Unity #13: 🥑 If – else if – else conditional statements
🥑 Use else if to specify a new condition to test, if the first condition is false
Introduction to C# in Unity #12: 🥑 else block
🥑 Use else to specify a block of code to be executed, if the same condition is false
Introduction to C# in Unity #11: 🥑 If conditional statement
🥑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:
- 1
- 2
- 3
- 4
- Next Page »