How to hide/disable existing menu items ?

Is it possible to hide/disable existing menu items like GameObjects/UI,GameObjects/2D Object etc…

I can’t seem to find anything about this.

Thanks in advance.

yes it’s possible
its an example :

var MainCan : Canvas;
var Slider : UI.Slider;

function Start () {
//this will show or hide your canvas
	MainCan.enabled = true;
// this will active or deactivate your slider
Slider.IsActive = false;


you can also see :
Scripting API > UnityEngine > UnityEngine.UI > Classes

If this answer help you , you can vote up or select it :wink: