public void ConnectCanvasToControllers(UIControllableCanvas controllableCanvas) { foreach (PlayerConfig conf in playersConfig) { conf.uiController.ConnectToCanvas(controllableCanvas); } }
public void ConnectToCanvas(UIControllableCanvas canvas) { connectedCanvas = canvas; canvas.Initialize(); }