This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Create a new MonoBehaviour script which will be in charge of nudging the player. A nudge will be defined as the pointer object moving back and forth between 2 objects OR tapping a specific object. On movement tween loop, refetch both object locations to see if they have moved. This is similar to the tutorialManager's tutorials except we do not stop and focus on an object or display any text. A nudge will be activated if the player has not taken any meaningful action to progress the minigame in over 10 seconds. These only trigger on day 3 or less. If you need references to any object like detailing table or LintRoller tool create a private serialized field in the Monobehaviour and assume it has been setup in scene. | |
| The following are describing nudge scenarios and meaningful actions the player needs to take: | |
| The player has clothes in the DetailingTable placement zone that needs linting: display a moving nudge from the LintRoller to the clothes placed. | |
| The player has clothes in the DetailingTable placement zone |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Tools->Options->Environment->Keyboard | |
| Edit.LineUp | |
| Edit.LineDown |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // keybindings for VSCode and vim. Enables system clip board, classic cut, paste, copy, find, and select-all hotkeys. | |
| { | |
| "vim.useSystemClipboard": true, | |
| "vim.useCtrlKeys": true, | |
| "vim.handleKeys": { | |
| "<C-a>": false, | |
| "<C-f>": false, | |
| "<C-c>": false, | |
| "<C-v>": false, | |
| "<C-x>": false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Place your key bindings in this file to overwrite the defaults | |
| // Need to Edit.LineUp in intellisense without using arrow keys? Want to navigate intellisense in VSCode without arrow keys? | |
| // Add this to keybindings.json | |
| [ | |
| { | |
| "key": "ctrl+shift+s", | |
| "command": "workbench.action.files.saveAll" | |
| }, | |
| { | |
| "key": "ctrl+k s", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| private class PositionWidth | |
| { | |
| public const int timeToDisappear = 3000; | |
| public Vector2 position { get; private set; } | |
| public float width { get; private set; } | |
| private float elapsedTime; | |
| public PositionWidth(Vector2 position, float width) | |
| { |