private void drawDestroyInitComponents()
{
if (meshRender.isAwesomiumInit)
{
if (GUILayout.Button("Destroy"))
{
meshRender.DestroyAwesomiumWindow();
}
}
else
{
if (GUILayout.Button("init"))
{
try
{
int aweWidth = int.Parse(textWidth);
int aweHeight = int.Parse(textHeight);
meshRender.InitAwesomium(aweWidth,aweHeight);
}
catch (System.Exception)
{
Debug.Log("Error parsing width and height");
}
}
}
}