public void LoadCanvas(CanvasID canvasID) { int _canvasID = (int)canvasID; canvasArray[_canvasID].SetActive(true); currCanvas.SetActive(false); }
public void ActivateCanvas(CanvasID _canvasID, bool value) { for (int i = 0; i < canvas.Count; i++) { if (canvas[i].GetComponent <CanvasHandler>().canvasID == _canvasID) { canvas[i].GetComponent <Canvas>().enabled = value; } } }