Preview:
// Public. Available to other scripts, and in the Unity editor
public bool chicken = true;

// Fully private, only accessible inside same script. 
private bool chicken = true;

// Private to the script, but visible in the Unity editor
[SerializeField] private bool chicken = true;
downloadDownload PNG downloadDownload JPEG downloadDownload SVG

Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!

Click to optimize width for Twitter