// Use this for initialization
	void Start () {
		curveAnim = this.gameObject.GetComponent<CurveShot> ();
		anim = this.gameObject.GetComponent<Animator> ();
	}
Exemple #2
0
 // Use this for initialization
 void Start()
 {
     curveAnim = this.gameObject.GetComponent <CurveShot> ();
     anim      = this.gameObject.GetComponent <Animator> ();
 }