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