the type or namespace name 'slider' could not be found code example
Example: The type or namespace name 'Scrollbar' could not be found
// The UI hasn't been imported yet
using UnityEngine.UI;
// The UI hasn't been imported yet
using UnityEngine.UI;