示例#1
0
 private void OnEnable()
 {
     direction      = transform.forward * speed;
     gravityManager = FindObjectOfType <GravityManager>();
     FindObjectOfType <GravityManager>().AddNewtonian(this);
     prevision = FindObjectOfType <PrevisionLine>();
     finished  = false;
 }