省略
int cooltime = 30;
int ctr = 0;
void Update () {
doc = new XmlDocument();// XMLオブジェクトを生成
if (ctr == 0){
flg = 1 ;
      doc.Load(XMLFilePath);
nodeListtext = doc.SelectNodes("statuses/status/text");
ctr = cooltime;

}
ctr -= 1;
}
void OnGUI()
{
if ( flg == 1 )
{
GUI.Label(new Rect(10, 10, 100, 40), nodeListtext[0].InnerText);
flg = 100 ;
}
}
20回updateする事にtwitterの最新つぶやきをlabelで表示ってやりたくて↑の書いたんだけど上手くいかない
だれか教えてアドバイスください