Пример #1
0
    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;
    }
Пример #2
0
 public CanvasViewModel(Color defaulColor, int width, int height)
 {
     _defaultColor = defaulColor;
     _canvasProxy  = new CanvasProxy(width, height);
 }