I would like to make the dashboard invisible how would i go about this?
//Make gameobject invisible.
Gameobject dashboard = GameObject.Find("dashboard(Clone)");
MeshRenderer dashboardRenderer = dashboard.GetComponent<MeshRenderer>();
dashboardRenderer.enabled = false;
Where do I put this code? Do I need to make a dll or something to put it in?C#://Make gameobject invisible. Gameobject dashboard = GameObject.Find("dashboard(Clone)"); MeshRenderer dashboardRenderer = dashboard.GetComponent<MeshRenderer>(); dashboardRenderer.enabled = false;
Make a modWhere do I put this code? Do I need to make a dll or something to put it in?