Пример #1
0
    void Draw(byte id)
    {
        Draw canvas = ((GameObject)Instantiate(canvasObj)).GetComponent<Draw>();

        canvas.rayCam = rayCam;
        canvas.BeginDraw();

        StartCoroutine(DrawTimer(id, canvas));

        activeGUI = false;
    }