Generation

fix invalid codeFri, 02 Dec 2022

using System.Collections; using System.Collections.Generic; using UnityEngine; public class Rotation : MonoBehaviour { // Start is called before the first frame update void Start() { } // Update is called once per frame void Update() { transform.Rotate(0, 20 * Time.deltaTime, 0); } } }

## Prerequisites You need to have installed: * [Visual Studio Code](https://code.visualstudio.com/) * [Visual Studio Code Extension: Markdown Preview Enhanced](https://github.com/shd101wyy/markdown-preview-enhanced) ## Running the sample 1. Open the sample: * `File` -> `Open Folder...` -> select the sample folder. 1. Open the markdown file: * `File` -> `Open File...` -> select the `sample.md` file. 1. Open the preview: * `Markdown Preview Enhanced: Open Preview` or `Ctrl+K V` 1. Scroll down to the sentence `You can see that the code is highlighted and the syntax is correct`. 1. Click on the link `repl.it`. 1. Click on the `Run` button. 1. Verify that the error is shown. 1. Fix the error by changing the `-` to `+` in the code block. 1. Click on the `Run` button again. 1. Verify that

Questions about programming?Chat with your personal AI assistant