Posts

Showing posts with the label unity

YAML format

Mappings UnityYAML supports both flow and block styles. Scalars UnityYAML supports double and single quoted scalars as well as plain scalars. You can split them onto multiple lines. Be aware that multi-line scalars can create performance and memory overheads during parsing. Plain scalars split onto multiple lines must be indented more than the previous line. You can use UTF–8 characters in scalars, but UnityYAML only decodes them when they are part of a double quoted scalar. Sequences UnityYAML supports mapping, block styles, and block sequences that contain block mappings. SOURCE: https://docs.unity3d.com/Manual/UnityYAML.html

Public Vector 3

Makes it easier because it'll store three numbers for the X, Y, and Z

Creating a script

SOURCE: https://docs.unity3d.com/Manual/CreatingAndUsingScripts.html

Essential Hotkeys

F - Frame object W - Move E - Rotate R - Scale T - ALT+RIGHT-CLICK - Zoom MMB - Pan CTRL+D - Duplicate

Scripting

Scripting is an essential ingredient in all applications you make in Unity. Most applications need scripts  to respond to input from the player and to arrange for events in the gameplay to happen when they should. Beyond that, scripts can be used to create graphical effects, control the physical behaviour of objects or even implement a custom AI system for characters in the game. SOURCE: https://docs.unity3d.com/Manual/ScriptingSection.html

What is a job system?

A job system is a system that allows you to use multi-threaded code by creating jobs instead of threads A job system manages a group of worker threads across multiple cores. It usually has one worker thread per logical CPU core, to avoid context switching (although it may reserve some cores for the operating system or other dedicated applications). A job system puts jobs into a job queue to execute. Worker threads in a job system take items from the job queue and execute them. A job system manages dependencies and ensures that jobs execute in the appropriate order. SOURCE: https://blogs.unity3d.com/2018/10/22/what-is-a-job-system/

Essential Hotkeys

Viewport Alt+left+click+drag - rotate around object Alt+right+click+drag - zoom in and out Tools - Objects Q - Pan W - Move E - Rotate R - Scale T - Rect Tool Z - Pivot Mode toggle X - Pivot Rotation Toggle V - Vertex Snap CTRL+LMB - Snap Edit Ctrl/Cmd+Z - Undo Ctrl+Y (Windows only) - Redo Ctrl+X - Cut CtrlC - Copy CtrlV - Paste Ctrl+D - Duplicate Shift+Del - Delete F - Frame selection up close Ctrl+Alt+F - Frame in front of us in the center of viewport Ctrl - Find Ctrl+A - Select All Ctrl+P - Play Ctrl+Shift+P - Pause Ctrl+Alt+P - Step CTRL+2 - Game View CTRL+6 - Animation CTRL+9 - Asset Store CTRL+Shift+C - Console Game Animation CTRL+P - Play CTRL+Shift+P - Pause SOURCE: https://docs.unity3d.com/2018.4/Documentation/Manual/UnityHotkeys.html