void CloseMenu() { controllerModel.GetComponent <MeshRenderer>().enabled = true; lr.enabled = true; lp.GetComponent <LineRenderer>().enabled = false; script.uiStop = false; DebugUIBuilder.instance.Hide(); inMenu = false; }
private void Start() { LineMaterial = lp.GetComponent <LineRenderer>().material; lineColorOrig = LineMaterial.color; }