Ejemplo n.º 1
0
 public void LoadFile(string filename, int _x = -1, int _y = -1)
 {
     Debug.Log("HTMLPanelGUII - loading file: " + filename);
     browserTexture.Height = height;
     browserTexture.Width  = width;
     browserTexture.LoadFile(filename);
     if (_x < 0 || _y < 0)
     {
         Center(width, height);
     }
     else
     {
         Place(_x, _y);
     }
 }