コード例 #1
0
 // Use this for initialization
 void Start()
 {
     target_portrait = GameObject.Find("Target_Portrait");
     t_display       = GameObject.Find("Player").GetComponent <Target_Display> ();
 }
コード例 #2
0
 // Use this for initialization
 void Start()
 {
     current_hp = max_hp;
     t_display  = GameObject.Find("Player").GetComponent <Target_Display> ();
 }