void ReadProverbs() { GameObject canvas = GameObject.Find("MainCanvas"); CanvasProxy CP = canvas.GetComponent <CanvasProxy>(); CP.image.enabled = true; CP.text.enabled = true; CP.text.text = pickup.proverbs_text; }
public CanvasViewModel(Color defaulColor, int width, int height) { _defaultColor = defaulColor; _canvasProxy = new CanvasProxy(width, height); }