Esempio n. 1
0
 void BuildRope()
 {
     harpoonGo = (GameObject)Instantiate(pfHarpoonSpear);
     rope      = GetComponent <Rope>();
     harpoonGo.transform.position = this.transform.position + new Vector3(5, 0, 0);
     rope.target = harpoonGo.transform;
     rope.BuildRope();
     //harpoonGo.transform.position = this.transform.position;
 }