예제 #1
0
파일: TimeCtrl.cs 프로젝트: sbleru/kiritore
 // Use this for initialization
 void Start()
 {
     panel_root = GameObject.FindWithTag("Root").GetComponent <PanelRoot> ();
     //float型からint型へCastし、String型に変換して表示
     left_time.text = ((int)SetValue.time).ToString();
 }
예제 #2
0
 // Use this for initialization
 void Start()
 {
     panel_root = GameObject.FindWithTag ("Root").GetComponent<PanelRoot> ();
     //float型からint型へCastし、String型に変換して表示
     left_time.text = ((int)SetValue.time).ToString();
 }