What is the call stack? An understanding of the callstack will allow you to understand how execution order in JavaScript works. JavaScript is a single-threaded language; this means that it handles one task at a time. JavaScript code is executed by the JavaScript engine. Google’s V8 engine is an example of a popular JavaScript engine, there are others such as the SpiderMonkey and Rhino. The
Hoisting in JavaScript – a complete guide
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
ECMAScript and JavaScript – don’t get confused !
ECMA which is short for European Computer Manufacturer’s Association, is an international organization that creates standards for technologies. One of these standards is called “ECMA-262”. ECMA-262 is the standard for creating a general purpose scripting language. This standard is commonly called ECMAScript specification. This specification contains rules and guidelines for creating a scripting language. JavaScript which is a client-side scripting language is one of the
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
Color picker in Virtual Reality. Made with Unity for Oculus Quest 1, 2
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
Unity Editor Basics #4: Menu bar: Assets🧱
🧱The Menu bar is right below the title bar and let’s check out the Assets option 🧱Has all these menu options: File, Edit, Assets, GameObject, Component, Window and Help 🧱The Assets option is concerned with all these options that we see in the dropdown menu 🧱 The first option is “Create” which allows us to create a new script, scene, folder, material etc 🧱 We
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
- 1
- 2
- 3
- …
- 8
- Next Page »