|
Post by Invector on Mar 31, 2020 21:54:11 GMT
Hey guys we just implemented a new Syntax Highlighter so it's easier to ready scripts at posts. To use it, select the same C# button as usual and select your C# or other supported language: Instead of pasting the code directly in the 'insert code here' area, switch from Preview to BBCode to have the correct indentationNow paste your code inside the [ code ] ... [ / code ] area like so: And this is the final result: using System.Collections; using System.Collections.Generic; using UnityEngine;
public class HelloWorld : MonoBehaviour { // Start is called before the first frame update void Start() { Debug.Log("Hello Forum!"); }
// Update is called once per frame void Update() { Debug.Log("Updating...."); } }
You can switch to a Dark Theme by clicking in the little eye in the top-right corner And also go to FullScreen to see the whole code by clicking on the maximize button.
|
|