示例#1
0
 void  Start()
 {
     score = FindObjectOfType <scorekeeping> ();
 }
示例#2
0
 void Start()
 {
     score  = FindObjectOfType <scorekeeping> ();
     box    = FindObjectOfType <objectcontroller> ();
     player = FindObjectOfType <playercontroller>();
 }