Posts

Showing posts with the label gamedesign

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

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

Components

Components -what makes objects do different things

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