示例#1
0
 // Use this for initialization
 void Start()
 {
     moveBall = FindObjectOfType <MoveBall>();
     moveBall.RegisterTarget(gameObject);
 }