Check out example codes for "The type or namespace name 'Scrollbar' could not be found". It will help you in understanding the concepts better.

Code Example 1

// The UI hasn't been imported yet
using UnityEngine.UI;

Learn ReactJs, React Native from akashmittal.com