C# Scripts


Makes a variable not show up in the inspector but be serialized. https://docs.unity3d.com/ScriptReference/HideInInspector.html


Force Unity to serialize a private field. https://docs.unity3d.com/ScriptReference/SerializeField.html

The Start function only runs in the first frame

// Start is called before the first frame update
void Start()

The Update function runs in every frame

// Update is called once per frame
void Update()